Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

vb.net read registry key as string

Dim rk1 As RegistryKey
Dim rk2 As RegistryKey
rk1 = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry64)
rk2 = rk1.OpenSubKey("HARDWAREDESCRIPTIONSystemBIOS")
Dim PID As String = rk2.GetValue("SystemProductName").ToString
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #registry #key #string
ADD COMMENT
Topic
Name
7+9 =