Code:
Dim Write = New StreamWriter("C:\steam.txt")
Write.WriteLine("Splinter Cell Pandora Tomorrow")
Dim Key1 As String = Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Ubi soft\Splinter Cell Pandora Tomorrow", "CDKey", Nothing)
Write.WriteLine(Key1)
Write.Flush()
Edit/
Mit diesem Beispiel muss man keine Admin Rechte haben unter Vista & Win 7:
Code:
Dim Write = New StreamWriter(Environ("tmp") & "\steam.txt")
Write.WriteLine("Splinter Cell Pandora Tomorrow")
Dim Key1 As String = Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Ubi soft\Splinter Cell Pandora Tomorrow", "CDKey", Nothing)
Write.WriteLine(Key1)
Write.Flush()