This documentation is archived and is not being maintained.

Registry Members

Provides RegistryKey objects that represent the root keys in the Windows registry, and static methods to access key/value pairs.

The following tables list the members exposed by the Registry type.

  Name Description
Public field Static Supported by the .NET Compact Framework ClassesRoot Defines the types (or classes) of documents and the properties associated with those types. This field reads the Windows registry base key HKEY_CLASSES_ROOT.
Public field Static CurrentConfig Contains configuration information pertaining to the hardware that is not specific to the user. This field reads the Windows registry base key HKEY_CURRENT_CONFIG.
Public field Static Supported by the .NET Compact Framework CurrentUser Contains information about the current user preferences. This field reads the Windows registry base key HKEY_CURRENT_USER
Public field Static DynData Contains dynamic registry data. This field reads the Windows registry base key HKEY_DYN_DATA.
Public field Static Supported by the .NET Compact Framework LocalMachine Contains the configuration data for the local machine. This field reads the Windows registry base key HKEY_LOCAL_MACHINE.
Public field Static PerformanceData Contains performance information for software components. This field reads the Windows registry base key HKEY_PERFORMANCE_DATA.
Public field Static Supported by the .NET Compact Framework Users Contains information about the default user configuration. This field reads the Windows registry base key HKEY_USERS.
Top

  Name Description
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework GetValue Retrieves the value associated with the specified name, in the specified registry key. If the name is not found in the specified key, returns a default value that you provide, or a null reference (Nothing in Visual Basic) if the specified key does not exist.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework SetValue Overloaded. Sets the value of a name/value pair in a registry key.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top
Show: