|
CipherDecryptFile Method
|
Creates a decrypted file from source file data.
Namespace: GSF.Security.CryptographyAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxpublic static void DecryptFile(
string sourceFileName,
string destinationFileName,
string password,
CipherStrength strength,
Action<ProcessProgress<long>> progressHandler
)
Public Shared Sub DecryptFile (
sourceFileName As String,
destinationFileName As String,
password As String,
strength As CipherStrength,
progressHandler As Action(Of ProcessProgress(Of Long))
)
public:
static void DecryptFile(
String^ sourceFileName,
String^ destinationFileName,
String^ password,
CipherStrength strength,
Action<ProcessProgress<long long>^>^ progressHandler
)
static member DecryptFile :
sourceFileName : string *
destinationFileName : string *
password : string *
strength : CipherStrength *
progressHandler : Action<ProcessProgress<int64>> -> unit
GSF.Security.Cryptography.Cipher.DecryptFile = function(sourceFileName, destinationFileName, password, strength, progressHandler);
View SourceParameters
- sourceFileName String
- Source file name.
- destinationFileName String
- Destination file name.
- password String
- User password used for key lookup.
- strength CipherStrength
- Cryptographic strength to use when decrypting file.
- progressHandler ActionProcessProgressInt64
- Optional delegate to handle progress updates for decrypting large files.
See Also