UtilRegistry Class

Contains registry related utilities.

Definition

Namespace: DevCase.Core.Windows.Registry
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class UtilRegistry
Inheritance
Object    UtilRegistry

Example

This is a code example that demonstrates various functionalities.
C#
No code example is currently available or this language may not be supported.

Methods

CopyKeyTree(RegistryView, String, RegistryView, String) Copies a registry key tree to another registry path.
CopyKeyTree(RegistryView, String, String, RegistryView, String, String) Copies a registry key tree to another registry path.
CopySubKeys(RegistryView, String, RegistryView, String) Copies the sub-keys of the specified registry key.
CopySubKeys(RegistryView, String, String, RegistryView, String, String) Copies the sub-keys of the specified registry key.
CopyValue(RegistryView, String, String, RegistryView, String, String) Copies a registry value (with its data) to another subkey.
CopyValue(RegistryView, String, String, String, RegistryView, String, String, String) Copies a registry value (with its data) to another subkey.
CreateSubKey(RegInfo, RegistryKeyPermissionCheck, RegistryOptions) Creates a new registry subkey.
CreateSubKey(RegistryView, String, RegistryKeyPermissionCheck, RegistryOptions) Creates a new registry subkey.
CreateSubKey(RegistryView, String, String, RegistryKeyPermissionCheck, RegistryOptions) Creates a new registry subkey.
CreateSubKeyT(RegInfoT, RegistryKeyPermissionCheck, RegistryOptions) Creates a new registry subkey.
CreateSubKeyT(RegistryView, String, RegistryKeyPermissionCheck, RegistryOptions) Creates a new registry subkey.
CreateSubKeyT(RegistryView, String, String, RegistryKeyPermissionCheck, RegistryOptions) Creates a new registry subkey.
CreateValueT(RegInfoT) Creates or replaces a registry value.
CreateValueT(RegistryView, String, String, T, RegistryValueKind) Creates or replaces a registry value.
CreateValueT(RegistryView, String, String, String, T, RegistryValueKind) Creates or replaces a registry value.
DeleteSubKey(RegistryView, String, Boolean) Deletes a registry subkey.
DeleteSubKey(RegistryView, String, String, Boolean) Deletes a registry subkey.
DeleteSubKeyT(RegInfoT, Boolean) Deletes a registry subkey.
DeleteValue(RegistryView, String, String, Boolean) Deletes a registry subkey.
DeleteValue(RegistryView, String, String, String, Boolean) Deletes a registry subkey.
DeleteValueT(RegInfoT, Boolean) Deletes a registry subkey.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
ExistSubKey(RegistryView, String) Determines whether a registry subkey exists.
ExistSubKey(RegistryView, String, String) Determines whether a registry subkey exists.
ExistSubKeyT(RegInfoT) Determines whether a registry subkey exists.
ExistValue(RegistryView, String, String) Determines whether a registry subkey exists.
ExistValue(RegistryView, String, String, String) Determines whether a registry value exists.
ExistValueT(RegInfoT) Determines whether a registry value exists.
ExportKey(RegistryView, String, String) Exports a key to a registry file.
ExportKey(RegistryView, String, String, String) Exports a key to a registry file.
FindSubKey(RegistryView, String, String, Boolean, Boolean, SearchOption) Finds on a registry path all the subkey names that matches the specified criteria.
FindSubKey(RegistryView, String, String, String, Boolean, Boolean, SearchOption) Finds on a registry path all the subkey names that matches the specified criteria.
FindValue(RegistryView, String, String, Boolean, Boolean, SearchOption) Finds on a registry path all the value names that matches the specified criteria.
FindValue(RegistryView, String, String, String, Boolean, Boolean, SearchOption) Finds on a registry path all the value names that matches the specified criteria.
FindValueData Finds on a registry path all the values that contains data that matches the specified criteria.
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetRootKey Gets the root RegistryKey of a registry path.
GetRootKeyName Gets the root key name of a registry path.
GetSubKeyPath Gets the subkey path of a registry path.
GetType Gets the Type of the current instance.
(Inherited from Object)
GetValueData(RegInfo, RegistryValueOptions) Gets the data of a registry value.
GetValueData(RegInfo, Object, RegistryValueOptions) Gets the data of a registry value.
GetValueData(RegistryView, String, String, RegistryValueOptions) Gets the data of a registry value.
GetValueData(RegistryView, String, String, Object, RegistryValueOptions) Gets the data of a registry value.
GetValueData(RegistryView, String, String, String, RegistryValueOptions) Gets the data of a registry value.
GetValueData(RegistryView, String, String, String, Object, RegistryValueOptions) Gets the data of a registry value.
GetValueDataT(RegInfoT, RegistryValueOptions) Gets the data of a registry value.
GetValueDataT(RegInfoT, T, RegistryValueOptions) Gets the data of a registry value.
GetValueDataT(RegistryView, String, String, RegistryValueOptions) Gets the data of a registry value.
GetValueDataT(RegistryView, String, String, T, RegistryValueOptions) Gets the data of a registry value.
GetValueDataT(RegistryView, String, String, String, RegistryValueOptions) Gets the data of a registry value.
GetValueDataT(RegistryView, String, String, String, T, RegistryValueOptions) Gets the data of a registry value.
ImportRegFile Imports a registry file into the current registry Hive.
IsRegistryFile Determines whether a file is a valid Registry script file.
JumpToKey(RegistryView, String) Runs Registry.exe process to jump at the specified key.
JumpToKey(RegistryView, String, String) Runs Regedit.exe process to jump at the specified key.
LoadHive Loads the subkeys of a hive file, creating a subkey with the specified name into HKEY_LOCAL_MACHINE root key.
MoveKeyTree(RegistryView, String, RegistryView, String) Moves a registry key tree to another registry path.
MoveKeyTree(RegistryView, String, String, RegistryView, String, String) Moves a registry key tree to another registry path.
MoveSubKeys(RegistryView, String, RegistryView, String) Moves the sub-keys of the specified registry key.
MoveSubKeys(RegistryView, String, String, RegistryView, String, String) Moves the sub-keys of the specified registry key.
MoveValue(RegistryView, String, String, RegistryView, String, String) Moves a registry value (with its data) to another subkey.
MoveValue(RegistryView, String, String, String, RegistryView, String, String, String) Moves a registry value (with its data) to another subkey.
ToString Returns a string that represents the current object.
(Inherited from Object)
UnloadHive Unloads a previously hive file that has been loaded into HKEY_LOCAL_MACHINE root key.
ValueIsEmpty(RegistryView, String, String) Determines whether a registry value is empty.
ValueIsEmpty(RegistryView, String, String, String) Determines whether a registry value is empty.

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also