C# Class Microsoft.Win32.KeyHandler

Mostra file Open project: kumpera/mono Class Usage Examples

Public Properties

Property Type Description
Dir string
IsVolatile bool

Private Properties

Property Type Description
AssertNotMarkedForDeletion void
CleanVolatileKeys void
CombineName string
GetRegisteredBootTime long
GetRootFromDir string
GetSystemBootTime long
KeyHandler System
KeyHandler System
KeyHandler System
LoadKey void
Save void
SaveRegisteredBootTime void
SetDirty void

Public Methods

Method Description
Delete ( string dir ) : bool
DirtyTimeout ( object state ) : void
Drop ( RegistryKey rkey ) : void
Drop ( string dir ) : void
Ensure ( RegistryKey rkey, string extra, bool writable ) : RegistryKey
Ensure ( RegistryKey rkey, string extra, bool writable, bool is_volatile ) : RegistryKey
Flush ( ) : void
GetSubKeyCount ( ) : int
GetSubKeyNames ( ) : string[]
GetValue ( string name, RegistryValueOptions options ) : object
GetValueKind ( string name ) : RegistryValueKind
GetValueNames ( ) : string[]
GetVolatileDir ( string dir ) : string
Load ( ) : void
Lookup ( RegistryKey rkey, bool createNonExisting ) : KeyHandler
Probe ( RegistryKey rkey, string extra, bool writable ) : RegistryKey
RemoveValue ( string name ) : void
SetValue ( string name, object value ) : void
SetValue ( string name, object value, RegistryValueKind valueKind ) : void
ValueExists ( string name ) : bool
VolatileKeyExists ( string dir ) : bool

Private Methods

Method Description
AssertNotMarkedForDeletion ( ) : void
CleanVolatileKeys ( ) : void
CombineName ( RegistryKey rkey, string extra ) : string
GetRegisteredBootTime ( string path ) : long
GetRootFromDir ( string dir ) : string
GetSystemBootTime ( ) : long
KeyHandler ( ) : System
KeyHandler ( RegistryKey rkey, string basedir ) : System
KeyHandler ( RegistryKey rkey, string basedir, bool is_volatile ) : System
LoadKey ( SecurityElement se ) : void
Save ( ) : void
SaveRegisteredBootTime ( string path, long btime ) : void
SetDirty ( ) : void

Method Details

Delete() public static method

public static Delete ( string dir ) : bool
dir string
return bool

DirtyTimeout() public method

public DirtyTimeout ( object state ) : void
state object
return void

Drop() public static method

public static Drop ( RegistryKey rkey ) : void
rkey RegistryKey
return void

Drop() public static method

public static Drop ( string dir ) : void
dir string
return void

Ensure() public method

public Ensure ( RegistryKey rkey, string extra, bool writable ) : RegistryKey
rkey RegistryKey
extra string
writable bool
return RegistryKey

Ensure() public method

public Ensure ( RegistryKey rkey, string extra, bool writable, bool is_volatile ) : RegistryKey
rkey RegistryKey
extra string
writable bool
is_volatile bool
return RegistryKey

Flush() public method

public Flush ( ) : void
return void

GetSubKeyCount() public method

public GetSubKeyCount ( ) : int
return int

GetSubKeyNames() public method

public GetSubKeyNames ( ) : string[]
return string[]

GetValue() public method

public GetValue ( string name, RegistryValueOptions options ) : object
name string
options RegistryValueOptions
return object

GetValueKind() public method

public GetValueKind ( string name ) : RegistryValueKind
name string
return RegistryValueKind

GetValueNames() public method

public GetValueNames ( ) : string[]
return string[]

GetVolatileDir() public static method

public static GetVolatileDir ( string dir ) : string
dir string
return string

Load() public method

public Load ( ) : void
return void

Lookup() public static method

public static Lookup ( RegistryKey rkey, bool createNonExisting ) : KeyHandler
rkey RegistryKey
createNonExisting bool
return KeyHandler

Probe() public method

public Probe ( RegistryKey rkey, string extra, bool writable ) : RegistryKey
rkey RegistryKey
extra string
writable bool
return RegistryKey

RemoveValue() public method

public RemoveValue ( string name ) : void
name string
return void

SetValue() public method

public SetValue ( string name, object value ) : void
name string
value object
return void

SetValue() public method

public SetValue ( string name, object value, RegistryValueKind valueKind ) : void
name string
value object
valueKind RegistryValueKind
return void

ValueExists() public method

public ValueExists ( string name ) : bool
name string
return bool

VolatileKeyExists() public static method

public static VolatileKeyExists ( string dir ) : bool
dir string
return bool

Property Details

Dir public_oe property

public string Dir
return string

IsVolatile public_oe property

public bool IsVolatile
return bool