C# Class SebWindowsClient.ServiceUtils.SebWindowsServiceHandler

Static SebWindowsServiceHandler with singleton pattern
Afficher le fichier Open project: SafeExamBrowser/seb-win Class Usage Examples

Méthodes publiques

Méthode Description
DisableWindowsUpdate ( ) : bool
Reconnect ( ) : void

Reconnect to the Windows Service over .NET Pipe

ResetRegistry ( ) : bool

Resets registry values to the values before SEB was running Throws Exception

SetRegistryAccordingToConfiguration ( ) : bool

Calls the windows service to set registry values to the insideSeb settings Throws Exception

SetRegistryAccordingToConfiguration ( object>.Dictionary valuesToSet ) : bool

Private Methods

Méthode Description
GetCurrentUserSID ( ) : string
GetCurrentUsername ( ) : string
Initialize ( ) : void

Method Details

DisableWindowsUpdate() public static méthode

public static DisableWindowsUpdate ( ) : bool
Résultat bool

Reconnect() public static méthode

Reconnect to the Windows Service over .NET Pipe
public static Reconnect ( ) : void
Résultat void

ResetRegistry() public static méthode

Resets registry values to the values before SEB was running Throws Exception
public static ResetRegistry ( ) : bool
Résultat bool

SetRegistryAccordingToConfiguration() public static méthode

Calls the windows service to set registry values to the insideSeb settings Throws Exception
public static SetRegistryAccordingToConfiguration ( ) : bool
Résultat bool

SetRegistryAccordingToConfiguration() public static méthode

public static SetRegistryAccordingToConfiguration ( object>.Dictionary valuesToSet ) : bool
valuesToSet object>.Dictionary
Résultat bool