Registry Property
Collapse the table of content
Expand the table of content

ServerComputer.Registry Property

 

Gets an object that provides properties and methods for manipulating the registry.

Namespace:   Microsoft.VisualBasic.Devices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

member Registry : RegistryProxy with get

Property Value

Type: Microsoft.VisualBasic.MyServices.RegistryProxy

The 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
Return to top
Show:
© 2016 Microsoft