What is the most reliable way to detect windows OS Architecture (x86,x64) on .NET 2.0
<p>i am using Visual C# 2010 express and i need the most reliable way (on button click) and in .NET 2.0 framework to detect if windows is currently x86 or x64 in a message box.. up till now i have been using this code but i need to know if there is a more accurate way?</p>

<pre><code>        string target = @"C:\Windows\SysWow64";
        {
            if (Directory.Exists(target))
            {
               MessageBox.Show("x64");
            }
            else
            {
               MessageBox.Show("x86");
            }
</code></pre>
