PlatformUtilities Class

Utilities relevant to Windows / COM Driver / ASCOM Platform development

Definition

Namespace: ASCOM.Com
Assembly: ASCOM.Com (in ASCOM.Com.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static class PlatformUtilities
Inheritance
Object    PlatformUtilities

Properties

BuildNumber Return the ASCOM Platform's build number
MajorVersion Return the ASCOM Platform's major version number
MinorVersion Return the ASCOM Platform's minor version number
PlatformVersion Current Platform version in Major.Minor form
ServicePack Return the ASCOM Platform's Service pack number

Methods

CreateDynamicDriver Create an Alpaca Dynamic Driver to present an Alpaca device as a COM device. (Platform 6.5 or later)
IsMinimumRequiredVersion Tests whether the current platform version is at least equal to the supplied major and minor version numbers, returns false if this is not the case
IsPlatformInstalled Determine whether the ASCOM Platform is installed.
OSBuildName Returns the Microsoft OS build name based on the build number stored in the Windows registry
OSBuildName(Int32) Returns the Microsoft Windows OS build name based on the supplied build number
SetLogger Set a logger instance that will receive runtime diagnostic information

Version Information

.NET Standard

Supported in: 2.0

See Also