RegistryKey reg = Registry.LocalMachine.OpenSubKey(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings \vSyncMode5 \t REG_DWORD \d 3 \f ", true); string currentKey; currentKey = reg.GetValue("Isregistered", true).ToString(); if (currentKey == "yes") { Label1.Text = currentKey; } else { Label1.Text = currentKey; // Console.WriteLine("Not availble"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)