C# Class SecureDelete.SDOptionsFile

ファイルを表示 Open project: gratianlup/SecureDelete

Public Methods

Method Description
DeserializeOptions ( byte data ) : SDOptions
LoadDefaultOptions ( string path, SDOptions &options ) : bool
LoadOptions ( string path, SDOptions &options ) : bool
SaveOptions ( SDOptions options, string path ) : bool
SerializeOptions ( SDOptions options ) : byte[]
TryLoadOptions ( SDOptions &options ) : void
TrySaveOptions ( SDOptions options ) : bool

Method Details

DeserializeOptions() public static method

public static DeserializeOptions ( byte data ) : SDOptions
data byte
return SDOptions

LoadDefaultOptions() public static method

public static LoadDefaultOptions ( string path, SDOptions &options ) : bool
path string
options SDOptions
return bool

LoadOptions() public static method

public static LoadOptions ( string path, SDOptions &options ) : bool
path string
options SDOptions
return bool

SaveOptions() public static method

public static SaveOptions ( SDOptions options, string path ) : bool
options SDOptions
path string
return bool

SerializeOptions() public static method

public static SerializeOptions ( SDOptions options ) : byte[]
options SDOptions
return byte[]

TryLoadOptions() public static method

public static TryLoadOptions ( SDOptions &options ) : void
options SDOptions
return void

TrySaveOptions() public static method

public static TrySaveOptions ( SDOptions options ) : bool
options SDOptions
return bool