ServerComputer.Registry Property
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Gets an object that provides properties and methods for manipulating the registry.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Property Value
Type: Microsoft.VisualBasic.MyServices.RegistryProxyThe My.Computer.Registry object for the computer.
This property provides easy access to the RegistryProxy object.
This example reads the value Name from HKEY_CURRENT_USER\Software\MyApp and displays it in a message box.
Dim readValue As Object readValue = My.Computer.Registry.GetValue( "HKEY_CURRENT_USER\Software\MyApp", "Name", Nothing) MsgBox("The value is " & CStr(readValue))
.NET Framework
Available since 2.0
Available since 2.0
Show: