C# Class Disco.ClientBootstrapper.Interop.RegistryInterop

Inheritance: IDisposable
ファイルを表示 Open project: garysharp/Disco

Private Properties

Property Type Description
AdjustTokenPrivileges int
GetCurrentProcess int
LookupPrivilegeValue int
OpenProcessToken int
RegLoadKey int
RegUnLoadKey int

Public Methods

Method Description
Dispose ( ) : void
RegistryInterop ( RegistryHives hive, string subKey, string filePath ) : System
Unload ( ) : void

Private Methods

Method Description
AdjustTokenPrivileges ( int tokenhandle, int disableprivs, [ Newstate, int bufferlength, int PreivousState, int Returnlength ) : int
GetCurrentProcess ( ) : int
LookupPrivilegeValue ( string lpsystemname, string lpname, [ lpLuid ) : int
OpenProcessToken ( int ProcessHandle, int DesiredAccess, int &tokenhandle ) : int
RegLoadKey ( uint hKey, string lpSubKey, string lpFile ) : int
RegUnLoadKey ( uint hKey, string lpSubKey ) : int

Method Details

Dispose() public method

public Dispose ( ) : void
return void

RegistryInterop() public method

public RegistryInterop ( RegistryHives hive, string subKey, string filePath ) : System
hive RegistryHives
subKey string
filePath string
return System

Unload() public method

public Unload ( ) : void
return void