Пример #1
0
 private static RegistryView GetRegistryView()
 {
     if (OsVersionHelper.Is64BitOperatingSystem())
     {
         return(RegistryView.Registry64);
     }
     return(RegistryView.Registry32);
 }
Пример #2
0
 private static string GetSectionName(string section)
 {
     if (OsVersionHelper.Is64BitOperatingSystem())
     {
         return(section + "\\Wow6432Node");
     }
     return(section);
 }