title: C# How do you get the operating system architecture (x86 or x64)?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://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>How can I retrieve the operating system architecture (x86 or x64) with .NET 2.0?</p>
  
  <p>I have not found any good method to get the OS architecture on Google. What I found was how to tell whether the process is 32-bit or 64-bit.</p>
  
  <p>If there isn't anyway to find out in .NET 2.0 please tell me. :)</p>