If for whatever reason the method
fails to complete, the method will return some text stating exactly
what has gone wrong.
You need to specify the PublicKey
to use when encrypting the text. The public key has to be an extracted
public key, such that you pass it into the control as a string.
If you have public and private
keyrings you can use the ExtractKeys method of
Cryptocx to extract a specific public key then pass it back to the control via the
PublicKey property and then encrypt some text using
it.
You need to set the WorkingFolder
property of the control to a directory that the process that will
call Cryptocx will have full read/write access.
|