Class RegistryAccessHelper
Inheritance
System.Object
RegistryAccessHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Win32
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class RegistryAccessHelper
Constructors
RegistryAccessHelper()
Declaration
public RegistryAccessHelper()
Methods
GetValueFrom(RegistryKey, String, String, out Boolean, Boolean, Boolean)
Declaration
public static void GetValueFrom(RegistryKey key, string subkey, string valueName, out bool destination, bool defaultValue, bool bThrowException)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Win32.RegistryKey | key | |
System.String | subkey | |
System.String | valueName | |
System.Boolean | destination | |
System.Boolean | defaultValue | |
System.Boolean | bThrowException |
GetValueFrom(RegistryKey, String, String, out Object, Object, Boolean)
Declaration
[Obsolete("BinaryFormatter is deprecated, need to use Alternative.")]
public static void GetValueFrom(RegistryKey key, string subkey, string valueName, out object destination, object defaultValue, bool bThrowException)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Win32.RegistryKey | key | |
System.String | subkey | |
System.String | valueName | |
System.Object | destination | |
System.Object | defaultValue | |
System.Boolean | bThrowException |
GetValueFrom(RegistryKey, String, String, out String, String, Boolean)
Declaration
public static void GetValueFrom(RegistryKey key, string subkey, string valueName, out string destination, string defaultValue, bool bThrowException)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Win32.RegistryKey | key | |
System.String | subkey | |
System.String | valueName | |
System.String | destination | |
System.String | defaultValue | |
System.Boolean | bThrowException |
GetValueFrom(RegistryKey, String, String, out UInt64, UInt64, Boolean)
Declaration
[CLSCompliant(false)]
public static void GetValueFrom(RegistryKey key, string subkey, string valueName, out ulong destination, ulong defaultValue, bool bThrowException)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Win32.RegistryKey | key | |
System.String | subkey | |
System.String | valueName | |
System.UInt64 | destination | |
System.UInt64 | defaultValue | |
System.Boolean | bThrowException |
PersistValueAt(RegistryKey, String, String, Boolean, Boolean)
Declaration
public static void PersistValueAt(RegistryKey key, string subkey, string valueName, bool source, bool bThrowException)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Win32.RegistryKey | key | |
System.String | subkey | |
System.String | valueName | |
System.Boolean | source | |
System.Boolean | bThrowException |
PersistValueAt(RegistryKey, String, String, Object, Boolean)
Declaration
[Obsolete("BinaryFormatter is deprecated, need to use Alternative.")]
public static void PersistValueAt(RegistryKey key, string subkey, string valueName, object source, bool bThrowException)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Win32.RegistryKey | key | |
System.String | subkey | |
System.String | valueName | |
System.Object | source | |
System.Boolean | bThrowException |
PersistValueAt(RegistryKey, String, String, String, Boolean)
Declaration
public static void PersistValueAt(RegistryKey key, string subkey, string valueName, string source, bool bThrowException)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Win32.RegistryKey | key | |
System.String | subkey | |
System.String | valueName | |
System.String | source | |
System.Boolean | bThrowException |
PersistValueAt(RegistryKey, String, String, UInt64, Boolean)
Declaration
[CLSCompliant(false)]
public static void PersistValueAt(RegistryKey key, string subkey, string valueName, ulong source, bool bThrowException)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Win32.RegistryKey | key | |
System.String | subkey | |
System.String | valueName | |
System.UInt64 | source | |
System.Boolean | bThrowException |