Cryptography |
public static CryptographyContext Create( string protocol )
Exception | Condition |
---|---|
ArgumentNullException | protocol is null. |
NotSupportedException | There are no supported CryptographyContexts that support the specified protocol. |
Creates a new CryptographyContext for the specified protocol.
The default CryptographyContext types can over overridden by calling the Register(Type) method with the preferred type.