Short reference information. I am developing C # in VS2008 under .net 3.5 on a Vista-x64 machine.
I recently switched to Vista-x64, and after some searching, I still feel that I don’t quite understand the interaction between the OS and the .net infrastructure. I would like to receive some corrections / clarifications regarding this.
The following is my understanding of the development process (please correct if I am wrong):
When I set up my project, I can install the target platform: x64, x86, AnyCpu. As far as I understand, AnyCpu will be targeting the current platform (in my case x64). I can also configure x86 and execute it (due to WoW64).
I assume that when I target x64, the program will use the 64-bit .net framework 3.5 and a similar 32-bit environment for x86. Is it correct?
What bothers me, when I am targeting x64 and printing out platform information, it prints " WIN32NT ". This makes me think that " WIN32NT " is not the way I think, but I could not learn much about it. What is it?
ComputerInfo computerInfo = new ComputerInfo();
Console.WriteLine("{0,-30}:\t{1}", "Platform", computerInfo.OSPlatform);
Thanks.
source
share