C# Class SebWindowsServiceWCF.ServiceImplementations.RegistryService

Inheritance: IRegistryServiceContract, IDisposable
ファイルを表示 Open project: SafeExamBrowser/seb-win Class Usage Examples

Public Methods

Method Description
DisableWindowsUpdate ( ) : bool

Disables the automatic windows update service

Dispose ( ) : void
Reset ( ) : bool

Resets the registry values if a PersistentRegistryFile is existing

SetRegistryEntries ( object>.Dictionary registryValues, string sid, string username ) : bool

Sets the registry values

TestServiceConnetcion ( ) : bool

Private Methods

Method Description
SetWindowsUpdate ( bool enable ) : bool

Method Details

DisableWindowsUpdate() public method

Disables the automatic windows update service
public DisableWindowsUpdate ( ) : bool
return bool

Dispose() public method

public Dispose ( ) : void
return void

Reset() public method

Resets the registry values if a PersistentRegistryFile is existing
public Reset ( ) : bool
return bool

SetRegistryEntries() public method

Sets the registry values
public SetRegistryEntries ( object>.Dictionary registryValues, string sid, string username ) : bool
registryValues object>.Dictionary The registry values to set
sid string The sid of the currently logged in user - needed to identify the correct registry key path
username string The username of the currently logged in user - needed to identify the correct registry key path
return bool

TestServiceConnetcion() public method

public TestServiceConnetcion ( ) : bool
return bool