Ocean
|
This class implements functions for the operating system. More...
Public Types | |
enum | OperatingSystemId { OSID_UNKNOWN , OSID_MICROSOFT_WINDOWS = 0x00001000 , OSID_MICROSOFT_WINDOWS_CLIENT = OSID_MICROSOFT_WINDOWS | 0x00000001 , OSID_MICROSOFT_WINDOWS_SERVER = OSID_MICROSOFT_WINDOWS | 0x00000002 , OSID_MICROSOFT_WINDOWS_2000 = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000020 , OSID_MICROSOFT_WINDOWS_XP = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000030 , OSID_MICROSOFT_WINDOWS_VISTA = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000050 , OSID_MICROSOFT_WINDOWS_7 = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000070 , OSID_MICROSOFT_WINDOWS_8 = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000080 , OSID_MICROSOFT_WINDOWS_8_1 = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000090 , OSID_MICROSOFT_WINDOWS_10 = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000100 , OSID_MICROSOFT_WINDOWS_SERVER_2003 = OSID_MICROSOFT_WINDOWS_SERVER | 0x00000030 , OSID_MICROSOFT_WINDOWS_SERVER_2008 = OSID_MICROSOFT_WINDOWS_SERVER | 0x00000050 , OSID_MICROSOFT_WINDOWS_SERVER_2012 = OSID_MICROSOFT_WINDOWS_SERVER | 0x00000090 , OSID_MICROSOFT_WINDOWS_SERVER_2016 = OSID_MICROSOFT_WINDOWS_SERVER | 0x00000100 , OSID_MACINTOSH_OS = 0x00010000 , OSID_MACINTOSH_OS_X = OSID_MACINTOSH_OS | 0x00000001 , OSID_ANDROID = 0x00100000 , OSID_LINUX = 0x01000000 } |
Definition of individual operating systems. More... | |
Static Public Member Functions | |
static OperatingSystemId | id (std::wstring *version=nullptr) |
Returns the id of the current operating system. More... | |
static std::wstring | name (const bool addVersion=true) |
Returns the name of the current operating system. More... | |
This class implements functions for the operating system.
Definition of individual operating systems.
|
static |
Returns the id of the current operating system.
version | Optional resulting (detailed) version of the operating system |
|
static |
Returns the name of the current operating system.
addVersion | True, to add the version of the operating system |