Profile Class

ASCOM Profile utilities

Definition

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

Constructors

ProfileInitializes a new instance of the Profile class

Methods

CreateSubKey Creates a sub-key under the device's Profile root. Nested sub-keys can be created by separating levels with "\" characters in the sub-key string.
DeleteSubKey Deletes a sub-key under the device's Profile root. Nested sub-keys can be deleted by separating levels with "\" characters in the sub-key string.
DeleteValue(DeviceTypes, String, String) Deletes a value from the root of the device's registry Profile.
DeleteValue(DeviceTypes, String, String, String) Deletes a value from the given sub-key in the device's registry Profile.
Dispose Dispose of the Profile object
GetDrivers Searches the ASCOM Registry for all drivers of a specified driver type
GetSubKeys(DeviceTypes, String) Returns a list of the sub-keys under the profile root.
GetSubKeys(DeviceTypes, String, String) Returns a list of the sub-keys under the given sub-key from the profile root.
GetValue(DeviceTypes, String, String, String) Reads a value from the root of the device's registry Profile.
GetValue(DeviceTypes, String, String, String, String) Reads a value from the given sub-key in the device's registry Profile.
GetValues(DeviceTypes, String) Returns a dictionary of the named and unnamed values in the device's profile root.
GetValues(DeviceTypes, String, String) Returns a dictionary of the named and unnamed values under the given sub-key from the device's profile root.
IsRegistered Tests whether a given device is registered in the ASCOM Profile.
Register Register an ASCOM device in the profile
SetValue(DeviceTypes, String, String, String) Set a value in the device's registry Profile.
SetValue(DeviceTypes, String, String, String, String) Set a value in the device's registry Profile.
UnRegister Unregister an ASCOM device from the Profile.

Version Information

.NET Standard

Supported in: 2.0

See Also