Retrieves the name of the user's operating system.
Syntax
[ sPlatform = ] object.platform
Possible Values
sPlatformString that receives one of the following values.HP-UXHP Unix-based computers.MacPPCMacintosh PowerPC-based computers.Mac68KMacintosh 68K-based computers.SunOSSolaris-based computers.Win32Microsoft Windows 32-bit platform.Win16Windows 16-bit platform.WinCEWindows CE platform.The property is read-only. The property has no default value.
HP-UX
MacPPC
Mac68K
SunOS
Win32
Win16
WinCE
The property is read-only. The property has no default value.
Standards Information
There is no public standard that applies to this property.
Applies To
clientInformation, navigator
See Also
userAgent
If the user is running 32bit IE (on Win64 or Win32), then this string will return "Win32"
If the user is running 64bit IE, then this string will return "Win64".
Experience Silverlight enabled quickstart tutorials, video training, showcases & more.
By clicking "Click to Install" you accept the Silverlight License Agreement .Silverlight updates automatically, learn more .