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
providerName
stringThe requested provider name.
provider
IKmsProviderWhen this method succeeds contains the created provider, otherwise
null .
Returns
- bool
true if the requested provider was created, otherwisefalse .