|Activecrypt Online Help||Prev Next|
How to encrypt strings
If you don't want your application to be locked and wait until the encryption is finished, you can use Async mode. In this case OnEncryptionFinised is fired when the encryption is finished. You can also pass the Cookie identificator to find which event returns which string. The Cookie is just any integer meaningful to you.
Here is an example:
If you use the synchronous mode you don't need Cookies and you may not pass them to PublicEncrypt. After the decryption is doneOnDecryptionFinished event is fired. For more information about decryption in asynchronous mode please read Async mode.
|This HTML Help has been published using the chm2web software.|