Basically,
my code
this doesn't work because the registry is Binary and not a normal registry key ;(
my code
Code:
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim readValue As String
readValue = My.Computer.Registry.GetValue _
("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Bohemia Interactive Studio\ArmA 2 OA\", "Key", Nothing)
MsgBox(" Your CD Key is " & readValue)
this doesn't work because the registry is Binary and not a normal registry key ;(