C# Class SebWindowsServiceWCF.ServiceImplementations.PersistentRegistryFile

Inheritance: IDisposable
Afficher le fichier Open project: SafeExamBrowser/seb-win Class Usage Examples

Méthodes publiques

Свойство Type Description
FileContent FileContent

Méthodes publiques

Méthode Description
Delete ( ) : void

Delete the persistens registry file if it exists Throws Exception if something goes wrong

Dispose ( ) : void
PersistentRegistryFile ( string username = null, string sid = null ) : System

Create an in-memory instance of a persistent registry file. If a file is existing it gets automatically loaded into memory

Save ( ) : void

Saves the currently stored registry information into a binary encoded file Throws Exception if something goes wrong

Private Methods

Méthode Description
Load ( ) : void

Loads the content of a saved file into memory

Method Details

Delete() public méthode

Delete the persistens registry file if it exists Throws Exception if something goes wrong
public Delete ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

PersistentRegistryFile() public méthode

Create an in-memory instance of a persistent registry file. If a file is existing it gets automatically loaded into memory
public PersistentRegistryFile ( string username = null, string sid = null ) : System
username string The username of the currently logged in user - needed to identify the correct registry key path
sid string The sid of the currently logged in user - needed to identify the correct registry key path
Résultat System

Save() public méthode

Saves the currently stored registry information into a binary encoded file Throws Exception if something goes wrong
public Save ( ) : void
Résultat void

Property Details

FileContent public_oe property

public FileContent,SebWindowsServiceWCF.ServiceImplementations FileContent
Résultat FileContent