IProtectionHandler.DecryptBuffer(Int64, Byte[], Byte[], Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Decrypt a buffer
public long DecryptBuffer (long offsetFromStart, byte[] inputBuffer, byte[] outputBuffer, bool isFinal);
abstract member DecryptBuffer : int64 * byte[] * byte[] * bool -> int64
Public Function DecryptBuffer (offsetFromStart As Long, inputBuffer As Byte(), outputBuffer As Byte(), isFinal As Boolean) As Long
Parameters
- offsetFromStart
- Int64
Relative position of inputBuffer from the very beginning of the encrypted content
- inputBuffer
- Byte[]
Buffer of encrypted content that will be decrypted
- outputBuffer
- Byte[]
Buffer into which decrypted content will be copied
- isFinal
- Boolean
If input buffer contains the final cleartext bytes or not
Returns
Actual size (in bytes) of decrypted content.