C# Class VSTOContrib.Core.Extensions.RegistryExtensions

Helpers for navigating the windows registry
Mostra file Open project: metamorph-inc/meta-core

Public Methods

Method Description
DeleteKey ( this key ) : void

Deletes the registry sub key.

Exists ( this startingKey, string path ) : bool

Checks if registry key exists.

GetPath ( this key ) : string

Gets the path.

OriginatingHive ( this key ) : RegistryKey

Gets the originating hive.

Method Details

DeleteKey() public static method

Deletes the registry sub key.
public static DeleteKey ( this key ) : void
key this The key.
return void

Exists() public static method

Checks if registry key exists.
public static Exists ( this startingKey, string path ) : bool
startingKey this The starting key.
path string The path.
return bool

GetPath() public static method

Gets the path.
public static GetPath ( this key ) : string
key this The key.
return string

OriginatingHive() public static method

Gets the originating hive.
public static OriginatingHive ( this key ) : RegistryKey
key this The key.
return Microsoft.Win32.RegistryKey