Click or drag to resize
GDSecureMimeDecoderDecodeAsync Method
Decodes an SMIME message.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
public IAsyncOperation<GDSecureMimeError> DecodeAsync()

Return Value

Type: IAsyncOperationGDSecureMimeError
None if decoding was successful and the SMIME message is ready for further processing. [!:GD::GDSecureMimeError::ParsingError] if there are no more parts in this multipart message.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrows InvalidArgumentException when input data was null or empty.
FailureException Throws FailureException when unable to acquire memory buffer from input.
Remarks
This has to be called before any calls to DecodeAsync or VerifySignatureAsync. After successful decryption or signature verification of a multipart SMIME message, one has to call Decode again to proceed to processing the next part of the message.
See Also