how to know whether an os is 32 bit or 64 bit  
Author Message
kranthi shankar koncha





PostPosted: 64-Bit .NET Framework Development., how to know whether an os is 32 bit or 64 bit Top

hi everybody,

could anybody please tell me "how to know whether an os is 32 bit or 64 bit after the OS installation "




.NET Development13  
 
 
Sriram Rajamanuri





PostPosted: 64-Bit .NET Framework Development., how to know whether an os is 32 bit or 64 bit Top

Are you trying to determine it programatically via .net    -- try using WMI as mentioned in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=796916&SiteID=1

If not, go to my computer->properties ->advanced->environment variables ->system variables->Processor_Architecture. (this is on windows xp and windows xp x64)

Hope this helps.



 
 
Pariah4Bedlam





PostPosted: 64-Bit .NET Framework Development., how to know whether an os is 32 bit or 64 bit Top

ok so i found that it says that my processor architecture is x86 but does that mean it is 32bit or 64 bit because i know both start with x86-"xx" but it doesnt say specifically which one it is.

 
 
jason zhu





PostPosted: 64-Bit .NET Framework Development., how to know whether an os is 32 bit or 64 bit Top

you can check the task manager, if some processes's name are suffixed by 32, the os will be 64bit .

because 32bit application run in 64 bit os , the process of 32bit applicaton will be suffixed by 32.



 
 
Hugo





PostPosted: 64-Bit .NET Framework Development., how to know whether an os is 32 bit or 64 bit Top

In code at runtime you can use sizeof on an IntPtr to see either 4 or 8.
 
 
Stankovic





PostPosted: 64-Bit .NET Framework Development., how to know whether an os is 32 bit or 64 bit Top

Easy go to the command prompt and type set - look for the processor type x86 is 32bit x64 is 64bit


 
 
suzi_msiman





PostPosted: 64-Bit .NET Framework Development., how to know whether an os is 32 bit or 64 bit Top

Yu may try this,

Click on Start -> Run, and type dxdiag. If a Windows dialog box is displayed asking if you want to verify your drivers.
Note the Operating System line, refers to Windows <some version> x64 or 64-bit edition. The last window specifies the processor Itanium, which is a 64-bit processor.

http://www.stata.com/support/faqs/win/64bit.html

 
 
aitah





PostPosted: 64-Bit .NET Framework Development., how to know whether an os is 32 bit or 64 bit Top

Best info: command prompt & type set <ret>. In win XP pro find windows arcitecture=x86/x64 defines 32 bitt/64 bit resp. Thank Stankovic


 
 
Adjantis





PostPosted: 64-Bit .NET Framework Development., how to know whether an os is 32 bit or 64 bit Top

Ok, Try this question.

i understand that x86 is 32bit and x64 is 64bit

and how to determin which my OS is

but.... If i have a 64 bit processor and am running a 32bit OS (WinXP).

When updating .net framework.

would i want to use the x86 bundle or the x64 bundle

or to put it another way, will the x64 version still be ok to use on a 32bit platform


 
 
Dean Harding





PostPosted: 64-Bit .NET Framework Development., how to know whether an os is 32 bit or 64 bit Top

If you have a 32-bit operating system, you can only install the 32-bit (x86) version of the framework.


 
 
PCSQL66





PostPosted: 64-Bit .NET Framework Development., how to know whether an os is 32 bit or 64 bit Top

If I understand correctly from posts in this thread, machines with 64bit processor can have 32bit and/or 64bit OS. For 32bit OS, I can only install 32bit verison of .net framework. For 64bit OS, can I install 32bit version of .net framework


 
 
Razzore





PostPosted: 64-Bit .NET Framework Development., how to know whether an os is 32 bit or 64 bit Top

http://www.mvps.org/marksxp/WindowsXP/xp64.php

I know its way late but its top of the list on google