C# Class ZForge.Win32.FileAssociation.RegistryWrapper

Provides a streamlined interface for reading and writing to the registry.
Mostra file Open project: zhuangyy/Motion

Public Methods

Method Description
Delete ( string path, string valueName ) : void

Deletes specified value;

Read ( string path, string valueName ) : object

Reads specified value from the registry.

Write ( string path, string valueName, object value ) : void

Writes specified value to the registry.

Method Details

Delete() public method

Deletes specified value;
public Delete ( string path, string valueName ) : void
path string Full registry key (minus root) that contains the value to be deleted.
valueName string Name of value to be deleted
return void

Read() public method

Reads specified value from the registry.
public Read ( string path, string valueName ) : object
path string Full registry key (minus root) that contains value.
valueName string Name of the value within key that will be read.
return object

Write() public method

Writes specified value to the registry.
public Write ( string path, string valueName, object value ) : void
path string Full registry key (minus root) that will contain the value.
valueName string Name of the value within key that will be written.
value object Value to be written
return void