Method TryCreate
- Namespace
- MongoDB.Driver.Encryption
- Assembly
- MongoDB.Driver.dll
TryCreate(string, out IKmsProvider)
Creates KMS provider if possible.
bool TryCreate(string providerName, out IKmsProvider provider)
Parameters
providerNamestringThe requested provider name.
providerIKmsProviderWhen this method succeeds contains the created provider, otherwise
null .
Returns
- bool
true if the requested provider was created, otherwisefalse .