C# Класс Goedel.Mesh.Platform.Register

Interface class to manage entries in the Windows Registry and file system. On non-windows machines, this can simply map to flat files.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetKeys ( string KeyName ) : string>.Dictionary

Get windows registry keys matching a key name.

GetSubKeys ( string KeyName ) : List

Get registry sub keys

Read ( string KeyName, string &UDF ) : string

Read registry entries for the specified parameters.

Read ( string KeyName, string Entry, string &UDF ) : string

Read registry entries for the specified parameters.

ReadFile ( string KeyName, string Path ) : string

Get the file name to read a file from the specified keyname and path.

ReadFile ( string KeyName, string Path, string UDF ) : string

Get the file name to read a file from the specified keyname and path.

Write ( string KeyName, string Entry, string UDF ) : void

Create registry entries for the specified parameters.

WriteKey ( string KeyName, string Tag, string UDF ) : void

Create registry entries for the specified parameters and return the file name to write the data file to.

Описание методов

GetKeys() публичный статический Метод

Get windows registry keys matching a key name.
public static GetKeys ( string KeyName ) : string>.Dictionary
KeyName string The key to fetch.
Результат string>.Dictionary

GetSubKeys() публичный статический Метод

Get registry sub keys
public static GetSubKeys ( string KeyName ) : List
KeyName string The registry key to retrieve.
Результат List

Read() публичный статический Метод

Read registry entries for the specified parameters.
public static Read ( string KeyName, string &UDF ) : string
KeyName string The Registry key to write to.
UDF string The fingerprint of the data object.
Результат string

Read() публичный статический Метод

Read registry entries for the specified parameters.
public static Read ( string KeyName, string Entry, string &UDF ) : string
KeyName string The Registry key to write to.
Entry string The name of the key to write to.
UDF string The fingerprint of the data object.
Результат string

ReadFile() публичный статический Метод

Get the file name to read a file from the specified keyname and path.
public static ReadFile ( string KeyName, string Path ) : string
KeyName string The Registry key to write to.
Path string The Registry Path to write to
Результат string

ReadFile() публичный статический Метод

Get the file name to read a file from the specified keyname and path.
public static ReadFile ( string KeyName, string Path, string UDF ) : string
KeyName string The Registry key to write to.
Path string The Registry Path to write to
UDF string Fingerprint of the object to read.
Результат string

Write() публичный статический Метод

Create registry entries for the specified parameters.
public static Write ( string KeyName, string Entry, string UDF ) : void
KeyName string The Registry key to write to.
Entry string The name of the key to write to.
UDF string The fingerprint of the data object.
Результат void

WriteKey() публичный статический Метод

Create registry entries for the specified parameters and return the file name to write the data file to.
public static WriteKey ( string KeyName, string Tag, string UDF ) : void
KeyName string The Registry key to write to.
Tag string The name of the key to write to.
UDF string The fingerprint of the data object.
Результат void