Returns a RegistryKey type, which provides access to HKEY_USERS.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
HKEY_USERS is primarily used to store default settings for first-time users.
The RegistryPermission class, which is in the System.Security.Permissions namespace, controls access to registry variables. Registry variables should not be stored in memory locations where code without RegistryPermission can access them. Similarly, when granting permissions, grant the fewest privileges necessary to get the job done.
Registry permission access values are defined by the RegistryPermissionAccess enumeration. The following table details its members.
Access to Registry Variables
Create, read, and write
The following table lists examples of tasks involving the My.Computer.Registry object.
Create a registry key and set its value
Delete a registry key
Read a value from a registry key
Available since 2.0