C# Класс SebWindowsServiceWCF.ServiceImplementations.PersistentRegistryFile

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

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

Свойство Тип Описание
FileContent FileContent

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

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

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

Метод Описание
Load ( ) : void

Loads the content of a saved file into memory

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

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

Delete the persistens registry file if it exists Throws Exception if something goes wrong
public Delete ( ) : void
Результат void

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

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

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

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
Результат System

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

Saves the currently stored registry information into a binary encoded file Throws Exception if something goes wrong
public Save ( ) : void
Результат void

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

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

public FileContent,SebWindowsServiceWCF.ServiceImplementations FileContent
Результат FileContent