C# Class SebWindowsServiceWCF.ServiceImplementations.PersistentRegistryFile

Inheritance: IDisposable
Exibir arquivo Open project: SafeExamBrowser/seb-win Class Usage Examples

Public Properties

Property Type Description
FileContent FileContent

Public Methods

Method 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

Method Description
Load ( ) : void

Loads the content of a saved file into memory

Method Details

Delete() public method

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

Dispose() public method

public Dispose ( ) : void
return void

PersistentRegistryFile() public method

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
return System

Save() public method

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

Property Details

FileContent public_oe property

public FileContent,SebWindowsServiceWCF.ServiceImplementations FileContent
return FileContent