Hi,
I think you need "SELECT * FROM Win32_Processor".
IIRC there's an AddressWidth property in there.....
>I am still trying to learn more about how to determine if the computer running my software is using 64-bit OS and/or processor.
>I found this code online:
>
>ManagementObjectSearcher mso = new ManagementObjectSearcher("SELECT * FROM Win32_OperatingSystem"); //Win32_ComputerSystem");
>ManagementObjectCollection qc = mso.Get();
>
>Console.WriteLine("OSArchitecture: " +
>mso["OSArchitecture"].ToString());
>
>
>According to the docs OSArchitecture should give me the info that I need but the code above does not give me information about OSArchitecture. I think there is something wrong with my select statement. Any information on this topic is welcome.
>
>Thanks,
>Einar