Property | Type | Description | |
---|---|---|---|
MacOSXPlatformID | PlatformID | ||
UnixPlatformID_Microsoft | PlatformID | ||
UnixPlatformID_Mono | PlatformID | ||
XBoxPlatformID | PlatformID |
Method | Description | |
---|---|---|
OSPlatform ( PlatformID platform, System.Version version ) : Microsoft.Win32 |
Construct from a platform ID and version
|
|
OSPlatform ( PlatformID platform, System.Version version, ProductType product ) : Microsoft.Win32 |
Construct from a platform ID, version and product type
|
Method | Description | |
---|---|---|
CheckIfIsMacOSX ( PlatformID platform ) : bool | ||
GetVersionEx ( OSVERSIONINFOEX &osvi ) : bool | ||
GetWindows81PlusVersion ( System.Version version ) : System.Version |
Gets the actual OS Version, not the incorrect value that might be returned for Win 8.1 and Win 10 If an application is not manifested as Windows 8.1 or Windows 10, the version returned from Environment.OSVersion will not be 6.3 and 10.0 respectively, but will be 6.2 and 6.3. The correct value can be found in the registry. |
|
uname ( |
public OSPlatform ( PlatformID platform, System.Version version ) : Microsoft.Win32 | ||
platform | PlatformID | |
version | System.Version | |
return | Microsoft.Win32 |
public OSPlatform ( PlatformID platform, System.Version version, ProductType product ) : Microsoft.Win32 | ||
platform | PlatformID | |
version | System.Version | |
product | ProductType | |
return | Microsoft.Win32 |
public static PlatformID MacOSXPlatformID | ||
return | PlatformID |
public static PlatformID UnixPlatformID_Microsoft | ||
return | PlatformID |
public static PlatformID UnixPlatformID_Mono | ||
return | PlatformID |