Determining OS type: 32-bit or 64-bit, programmatically.
-
Hi all, I need to determine during runtime whether I'm dealing with a 32-bit or 64-bit OS, in order to decide which .NET installation file to run. What's the way of knowing that? Is there a certain registry entry I should read in order to retrieve this information? Thanks, Eyal.
-
Hi all, I need to determine during runtime whether I'm dealing with a 32-bit or 64-bit OS, in order to decide which .NET installation file to run. What's the way of knowing that? Is there a certain registry entry I should read in order to retrieve this information? Thanks, Eyal.
note sure about 32 vs 64 bit but these are a start :- http://www.codeproject.com/KB/system/XWinVer.aspx[^] http://www.codeproject.com/KB/system/osversion.aspx[^] 'g'
-
note sure about 32 vs 64 bit but these are a start :- http://www.codeproject.com/KB/system/XWinVer.aspx[^] http://www.codeproject.com/KB/system/osversion.aspx[^] 'g'
Hi, After fast look, it seems like: The first link does not support 64-bit OS (e.g windows xp x64). The second is a C# project which I can't use since .NET framework is not installed - that's my project purpose: check if .net is installed, and if not - install it. Thanks!
-
Hi, After fast look, it seems like: The first link does not support 64-bit OS (e.g windows xp x64). The second is a C# project which I can't use since .NET framework is not installed - that's my project purpose: check if .net is installed, and if not - install it. Thanks!
Try this... http://blogs.msdn.com/oldnewthing/archive/2005/02/01/364563.aspx[^]
............................. Two words you don't ever want to hear. "Fix bayonets"
-
Hi, After fast look, it seems like: The first link does not support 64-bit OS (e.g windows xp x64). The second is a C# project which I can't use since .NET framework is not installed - that's my project purpose: check if .net is installed, and if not - install it. Thanks!
if Robert's Link Doesnt give you what you want, there's a link/code in this blog :- http://blogs.msdn.com/astebner/archive/2004/09/18/231253.aspx[^] or this one right here in CP :- http://www.codeproject.com/KB/dotnet/DetectDotNet.aspx[^]