C# Класс BudgetAnalyser.Encryption.EncryptedLocalDiskReaderWriter

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

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

Метод Описание
CreateWritableStream ( string fileName ) : Stream
EncryptedLocalDiskReaderWriter ( [ fileEncryptor, [ credentialStore ) : System
FileExists ( string fileName ) : bool

Files the exists.

LoadFirstLinesFromDiskAsync ( string fileName, int lineCount ) : Task

Loads a budget collection xaml file from disk.

LoadFromDiskAsync ( string fileName ) : Task

Loads a budget collection xaml file from disk.

WriteToDiskAsync ( string fileName, string data ) : System.Threading.Tasks.Task

Writes the budget collections to a xaml file on disk.

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

Метод Описание
IsValidAlphaNumericWithPunctuation ( string text ) : bool
IsValidUtf8AlphaNumericWithPunctuation ( char c ) : bool
RetrievePassword ( ) : SecureString

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

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

public CreateWritableStream ( string fileName ) : Stream
fileName string
Результат Stream

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

public EncryptedLocalDiskReaderWriter ( [ fileEncryptor, [ credentialStore ) : System
fileEncryptor [
credentialStore [
Результат System

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

Files the exists.
public FileExists ( string fileName ) : bool
fileName string Full path and filename of the file.
Результат bool

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

Loads a budget collection xaml file from disk.
public LoadFirstLinesFromDiskAsync ( string fileName, int lineCount ) : Task
fileName string Full path and filename of the file.
lineCount int The number of lines to load.
Результат Task

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

Loads a budget collection xaml file from disk.
public LoadFromDiskAsync ( string fileName ) : Task
fileName string Full path and filename of the file.
Результат Task

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

Writes the budget collections to a xaml file on disk.
public WriteToDiskAsync ( string fileName, string data ) : System.Threading.Tasks.Task
fileName string
data string
Результат System.Threading.Tasks.Task