FileEncryption.Decrypt Method
Namespace: Rebex.Security
Assembly: Rebex.Security.dll (version 7.0.9448)
Decrypt(String, String)
Decrypts a source file into a target file.
Declaration
public void Decrypt(string sourceFile, string targetFile)
Parameters
| Type | Name | Description |
|---|---|---|
| String | sourceFile | The file to decrypt. |
| String | targetFile | The name of the decrypted file. This cannot be a directory. |
Decrypt(Stream, Stream)
Decrypts data from a source stream into a target stream.
Declaration
public void Decrypt(Stream sourceStream, Stream targetStream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | sourceStream | Readable stream with encrypted data. |
| Stream | targetStream | Writable stream that will receive the decrypted data. |