MSI Factory 2.3

System.GetOSName

System.GetOSName

Previous topic Next topic  

System.GetOSName

Previous topic Next topic  

OverviewExamples

string System.GetOSName (

)

Description

Gets the name of the operating system the user is running:

Windows Server 2022

Windows 11

Windows Server 2019

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

Parameters

None.

Returns

(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


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us