The Xceed Encryption control provides the following methods to accomplish the tasks of encrypting and decrypting data and files.
The only property in the Xceed Encryption control is named EncryptionMethod and you need to verify that it is set to the desired encryption or decryption algorithm before calling any of the control's methods that actually encrypt or decrypt data.
All Xceed Encryption control methods return an HRESULT return code. See the Error codes topic for details on error handling.