Return Value
This method never returns null
(Nothing
in Visual Basic).
This method never returns null
(Nothing
in Visual Basic).
Exception | Description |
---|---|
System.Security.Cryptography.CryptographicException | An error occurred during a cryptographic operation. This is an operation error that depends on factors external to your program, and thus cannot be always avoided. Your code must handle it appropriately. |
System.InvalidOperationException | A method call was invalid for the object's current state. This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |
This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.