Example #1
0
 private static RegistryKey GetLocalMachineKey(RegistryView?view)
 {
     if (view == null)
     {
         return(Registry.LocalMachine);
     }
     else
     {
         return(RegistryHandler.GetRegistryKeyWithRegView(RegistryHive.LocalMachine, view));
     }
 }