C# Class UlteriusServer.Utilities.Files.FileManager

Exibir arquivo Open project: Ulterius/server

Public Properties

Property Type Description
Whitelist ApprovedFile>.ConcurrentDictionary

Public Methods

Method Description
AddFile ( SecureString password, string filePath, string fileKey ) : bool
DecryptFile ( string fileKey, byte fileData ) : bool
OnWhitelist ( string fileKey ) : bool
RemoveFile ( string fileKey ) : bool

Method Details

AddFile() public static method

public static AddFile ( SecureString password, string filePath, string fileKey ) : bool
password System.Security.SecureString
filePath string
fileKey string
return bool

DecryptFile() public static method

public static DecryptFile ( string fileKey, byte fileData ) : bool
fileKey string
fileData byte
return bool

OnWhitelist() public static method

public static OnWhitelist ( string fileKey ) : bool
fileKey string
return bool

RemoveFile() public static method

public static RemoveFile ( string fileKey ) : bool
fileKey string
return bool

Property Details

Whitelist public_oe static_oe property

public static ConcurrentDictionary Whitelist
return ApprovedFile>.ConcurrentDictionary