Exemplo n.º 1
0
 private static RegistryView GetRegistryView()
 {
     if (OsVersionHelper.Is64BitOperatingSystem())
     {
         return(RegistryView.Registry64);
     }
     return(RegistryView.Registry32);
 }
Exemplo n.º 2
0
 private static string GetSectionName(string section)
 {
     if (OsVersionHelper.Is64BitOperatingSystem())
     {
         return(section + "\\Wow6432Node");
     }
     return(section);
 }