This is my processor = AMD Athlon II , I considire it as AMD64, am I wrong?
have installed Win10 on my lap, have excpect Is64bit givs me a 'true', but it doesnt.
I ask, cause this is the way I like to proof, f it has 64bit or 32bit system.
to come finally to this pointCode:bool Is64bit = string.IsNullOrEmpty(Environment.GetEnvironmentVariable("PROCESSOR_ARCHITEW6432"));
Code:if (Is64bit) { searcher = new ManagementObjectSearcher("select * from Win64_Processor"); foreach (ManagementObject share in searcher.Get()) { // first of all, the processorid strProcId += share.GetPropertyValue("ProcessorId").ToString(); } }




Reply With Quote
