PlatformHelper.GetHostApiPlatform Method
Definition
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.
Returns a Platform enumeration value for the currently executing host machine.
public static ObjCRuntime.Platform GetHostApiPlatform ();
static member GetHostApiPlatform : unit -> ObjCRuntime.Platform
Returns
The platform for the host.
Remarks
On Mac OS X this information is parsed from /System/Library/CoreServices/SystemVersion.plist; on iOS from UIDevice.CurrentDevice.