Im using the Microsoft.Win32.Registry class. Im trying to make a if value exist statement but don't know how
I want something like this:
private RegistryKey key = Registry.CurrentUser.CreateSubKey(@"SOFTWARE\Test");
if(key.ValueExist("myValue")) Console.WriteLine("value exist!");
Aucun commentaire:
Enregistrer un commentaire