Encrypt or decrypt a file into a MemoryStream
Namespace: LLCryptoLib.CryptoAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public byte[] MemoryEncryptDecrypt(
string inputFile,
bool isCrypting,
CallbackPoint cbp
) |
Visual Basic |
---|
Public Function MemoryEncryptDecrypt ( _
inputFile As String, _
isCrypting As Boolean, _
cbp As CallbackPoint _
) As Byte() |
Visual C++ |
---|
public:
array<unsigned char>^ MemoryEncryptDecrypt(
String^ inputFile,
bool isCrypting,
CallbackPoint^ cbp
) |
Parameters
- inputFile
- Type: System..::..String
Path to input file
- isCrypting
- Type: System..::..Boolean
True if encryption, False if decryption
- cbp
- Type: LLCryptoLib..::..CallbackPoint
A feebback callback handle
Return Value
the encrypted file as an array of bytes
Exceptions
See Also