determine if the os is 32 bit or 64 bit in c#
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/336633/how-to-detect-windows-64-bit-platform-with-net">How to detect Windows 64 bit platform with .net?</a>  </p>
</blockquote>



<p>Hi all, I am currently developing an application in c# and would like to know if it is possible using code to determine if the OS the computer is running is 32bit or 64 bit. The program I am writing is compiled as 32 bit but need to know if it is running on 64 bit or not. </p>

<p>Thanks</p>
