Click here to Skip to main content
Click here to Skip to main content

32-Bit or 64-bit OS ??

By , 13 Oct 2010
 
In .NET 4.0, you can also use the new System.Environment.Is64BitOperatingSystem and System.Environment.Is64BitProcess

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Reinhard Ostermeier
Software Developer (Senior) remes GmbH
Germany Germany
Member
No Biography provided

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralMy vote of 5memberFarhan Ghumra2 Jul '12 - 2:14 
Excellent
GeneralMy vote of 5memberPranit Kothari21 May '12 - 7:16 
Detail and informative.
GeneralReason for my vote of 5 Small cute onemvpthatraja17 Oct '10 - 18:48 
Reason for my vote of 5
Small cute one
GeneralThat was an typo of course. I fixed that.memberReinhard Ostermeier13 Oct '10 - 4:45 
That was an typo of course. I fixed that.
GeneralEnvitonment... are you sure?memberToli Cuturicu11 Oct '10 - 11:37 
Envitonment... are you sure?
GeneralIn fact the Is64BitOperatingSystem property in .NET 4.0 is c...memberKelly Herald28 Sep '10 - 12:38 
In fact the Is64BitOperatingSystem property in .NET 4.0 is calling the IsWOW64Process API.
bool flag;
return ((Win32Native.DoesWin32MethodExist("kernel32.dll", "IsWow64Process") && Win32Native.IsWow64Process(Win32Native.GetCurrentProcess(), out flag)) && flag);

GeneralReason for my vote of 5 Small but Excellent...mvpKunalChowdhury8 Sep '10 - 20:00 
Reason for my vote of 5
Small but Excellent...
GeneralReason for my vote of 5 Thanks fot the tip.memberGPUToaster7 Sep '10 - 15:19 
Reason for my vote of 5
Thanks fot the tip.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 13 Oct 2010
Article Copyright 2010 by Reinhard Ostermeier
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid