by luisabreu via LA.NET [EN] on 3/15/2010 6:47:48 PM
Today a friend of mine asked me if there was an easy way to check if he was running in 32 or 64 bit version of windows. I’m still not sure on why he wanted to know that (I’m assuming he doesn’t belong to the small group of people that really needs this info), but the good news is that there are a couple of properties exposed by the Environment class which return that info: Is64BitOperatingSystem (true when running in a 64 bit operating system) and Is64BitProcess (true when running in a 64-bit process – ie, with access to a 64 bit address space). Notice that these are *new* properties introduced by the .NET 4.0 :)
Original Post: Is my C# code running in 64 bit version of windows?
The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.