PlatformHelper Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use [Introduced|Deprecated|Obsoleted|Unavailable] attributes with PlatformName.
Utilities for working with the Platform enumeration.
[System.Obsolete("Use [Introduced|Deprecated|Obsoleted|Unavailable] attributes with PlatformName.")]
public static class PlatformHelper
type PlatformHelper = class
- Inheritance
-
PlatformHelper
- Attributes
Check |
Checks if the version of the system is at least the specified version. |
Compare |
Compares two platform values. |
Compare |
Compares two platform values. |
Get |
Returns a Platform enumeration value for the currently executing host machine. |
Is64Bit |
Check if the specified platform value is a 64-bit platform. |
Is |
Determines if the specified platform is iOS. |
Is |
Determines if the specified platform is MacOS. |
Is |
Validates the Platform value against known API versions. |
Parse |
Parses a platform name and string version number into a Platform enumeration value. |
To |
Get the architecture (32-bit or 64-bit) of the specified platform. |
To |
Get the architecture (32-bit or 64-bit) of the specified platform. |
To |
Get the OS version of the specified platform value. |
To |
Get the architecture (32-bit or 64-bit) of the specified platform. |
To |
Get the OS version of the specified platform value. |
To |
Get the OS version of the specified platform value. |