Xceed Encryption Library Documentation
Reset method
Xceed Encryption control reference > Methods > Reset method

Description

The Reset method must be called to reset the library in the event that a sequence of calls to the Encrypt, Decrypt, Hash, Sign, Verify, ProcessFile, ReadFile or WriteFile methods (with the bEndOfData parameter specified as False) is interrupted and will not be completed with a final call specifying the bEndOfData parameter as True.

Calling the Reset method will cause the library to empty its internal buffers, including any accumulated (but not yet processed) data. The library will then be ready to accept new calls to these methods with new data to process.

Parameters

None

Return value

None. This method is always successful.

Declaration (DXceedEncryption and IXceedEncryption) Copy Code

HRESULT Reset ()