Basically, I want to calculate if the Windows registry value is 1 or if it is null, but I can't do that, I'm new to programming, the value I want to calculate is "Saved_h231405664" if it is 1 or null but everything I try does not work
RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Software\Lost in Days Studio\NO TIME", true);
object savedornot = key.GetValue("Saved_h231405664".ToString());
if (savedornot == 1 || == null){my code}
Aucun commentaire:
Enregistrer un commentaire