My.Computer.Registry Object
Provides properties and methods for manipulating the registry.
To use these properties, you must have Read and Write permission from the RegistryPermissionAccess Enumeration. Any code running with full trust (under the default security policy, this is any code installed on the user's local hard drive) has the necessary permissions to access the registry. For more information, see RegistryPermission Class.
The following table lists examples of tasks involving the My.Computer.Registry object.
To | See |
|---|---|
Create a registry key | How to: Create a Registry Key and Set Its Values in Visual Basic |
Determine if a value in a registry key exists | How to: Determine if a Value Exists in a Registry Key in Visual Basic |
Write data to a registry key | |
Delete a registry key | |
Read data from the registry |
Namespace: Microsoft.VisualBasic.MyServices
Class: RegistryProxy (provides access to Registry)
Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)