C# Класс Microsoft.Win32.KeyHandler

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Dir string
IsVolatile bool

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Delete() публичный статический Метод

public static Delete ( string dir ) : bool
dir string
Результат bool

DirtyTimeout() публичный Метод

public DirtyTimeout ( object state ) : void
state object
Результат void

Drop() публичный статический Метод

public static Drop ( RegistryKey rkey ) : void
rkey RegistryKey
Результат void

Drop() публичный статический Метод

public static Drop ( string dir ) : void
dir string
Результат void

Ensure() публичный Метод

public Ensure ( RegistryKey rkey, string extra, bool writable ) : RegistryKey
rkey RegistryKey
extra string
writable bool
Результат RegistryKey

Ensure() публичный Метод

public Ensure ( RegistryKey rkey, string extra, bool writable, bool is_volatile ) : RegistryKey
rkey RegistryKey
extra string
writable bool
is_volatile bool
Результат RegistryKey

Flush() публичный Метод

public Flush ( ) : void
Результат void

GetSubKeyCount() публичный Метод

public GetSubKeyCount ( ) : int
Результат int

GetSubKeyNames() публичный Метод

public GetSubKeyNames ( ) : string[]
Результат string[]

GetValue() публичный Метод

public GetValue ( string name, RegistryValueOptions options ) : object
name string
options RegistryValueOptions
Результат object

GetValueKind() публичный Метод

public GetValueKind ( string name ) : RegistryValueKind
name string
Результат RegistryValueKind

GetValueNames() публичный Метод

public GetValueNames ( ) : string[]
Результат string[]

GetVolatileDir() публичный статический Метод

public static GetVolatileDir ( string dir ) : string
dir string
Результат string

Load() публичный Метод

public Load ( ) : void
Результат void

Lookup() публичный статический Метод

public static Lookup ( RegistryKey rkey, bool createNonExisting ) : KeyHandler
rkey RegistryKey
createNonExisting bool
Результат KeyHandler

Probe() публичный Метод

public Probe ( RegistryKey rkey, string extra, bool writable ) : RegistryKey
rkey RegistryKey
extra string
writable bool
Результат RegistryKey

RemoveValue() публичный Метод

public RemoveValue ( string name ) : void
name string
Результат void

SetValue() публичный Метод

public SetValue ( string name, object value ) : void
name string
value object
Результат void

SetValue() публичный Метод

public SetValue ( string name, object value, RegistryValueKind valueKind ) : void
name string
value object
valueKind RegistryValueKind
Результат void

ValueExists() публичный Метод

public ValueExists ( string name ) : bool
name string
Результат bool

VolatileKeyExists() публичный статический Метод

public static VolatileKeyExists ( string dir ) : bool
dir string
Результат bool

Описание свойств

Dir публичное свойство

public string Dir
Результат string

IsVolatile публичное свойство

public bool IsVolatile
Результат bool