title: How to know in run time if i'm on x86 or x64 mode in c#
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/266082/how-do-i-tell-if-my-application-is-running-as-a-32-or-64-bit-application">How do I tell if my application is running as a 32 or 64 bit application?</a>  </p>
  </blockquote>
  
  
  
  <p>Hi</p>
  
  <p>I have an app in c# (Framework 3.5 SP1) and I need to load an unmanaged assembly at run time but there are two different versions, one for x86 and another for x64, so I need to know at run time in which mode is the app running</p>
  
  <p>I have seen this <a href="https://stackoverflow.com/questions/443227/how-do-i-find-out-if-my-application-is-running-on-x86-or-x64-windows">POST</a> but it's for C++, is there an easier way to do it in C#? or how can I do this in C#?</p>
  
  <p>Thanks</p>