IProfile Interface

Interface to the .NET Profile component

Definition

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
C#
public interface IProfile

Properties

DeviceType The type of ASCOM device for which profile data and registration services are provided (String, default = "Telescope")
RegisteredDeviceTypes List the device types registered in the Profile store

Methods

CreateSubKey Create a registry key for the given DriverID.
DeleteSubKey Delete a registry key for the given DriverID. SubKey may contain \ separated path to key to be deleted.
DeleteValue Delete the value from the registry. Name may be an empty string for the unnamed value. Value will be deleted from the sub-key supplied.
GetProfileXML Read an entire device profile
GetValue Retrieve a string value from the profile using the supplied sub-key for the given Driver ID and variable name. Set and return the default value if the requested variable name has not yet been set.
IsRegistered Confirms whether a specific driver is registered or unregistered in the profile store
Register Registers a supplied DriverID and associates a descriptive name with the device
RegisteredDevices List the devices of a given device type that are registered in the Profile store
SetProfileXML Set an entire device profile
SubKeys Return a list of the sub-keys under the given DriverID (for COM clients)
Unregister Remove all data for the given DriverID from the registry.
Values Return a list of the (unnamed and named variables) under the given DriverID and sub-key.
WriteValue Writes a string value to the profile using the supplied sub-key for the given Driver ID and variable name.

See Also