Table of Contents

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 string

The requested provider name.

provider IKmsProvider

When this method succeeds contains the created provider, otherwise null.

Returns

bool

true if the requested provider was created, otherwise false.