Globals.RegistryAccess.RegistryAccess C# (CSharp) Method

RegistryAccess() public method

Opens access to reading the registry. Call the CloseReg() function when complete
public RegistryAccess ( RegistryKey mainKey, string subKey ) : System
mainKey Microsoft.Win32.RegistryKey Windows.Win32.Registry (Halo 2 uses CurrentUser)
subKey string The path to the Label
return System
        public RegistryAccess(RegistryKey mainKey, string subKey)
        {
            the_Reg = mainKey.OpenSubKey(subKey);
            if (the_Reg != null)
                _isOpen = true;
        }