OverviewExamples
string System.GetOSName ( |
) |
Gets the name of the operating system the user is running:
Note: On Windows 7 or later, when this action is called from a custom action, it will return information for Windows Vista, NOT later OSs due to the VistaRTMVersionLie compatibility fix. See More Information.
Windows 10
Windows Server 2016
Windows 8.1
Windows Server 2012 R2
Windows 8
Windows Server 2012
Windows 7
Windows Server 2008 R2
Windows Vista
Windows Server 2008
Windows XP
Windows Server 2003
Windows 2000
Windows NT 4
Windows NT 3
Windows ME
Windows 98
Windows 95
None.
(string) A string containing the name of the OS the user is running on their system. If this action fails, a blank string "" is returned. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions