Click or drag to resize

CryptClientCreatorCreateCryptClient Method

Create a CryptClient instance.

Namespace:  MongoDB.Driver.Core.Clusters
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public static CryptClient CreateCryptClient(
	IReadOnlyDictionary<string, IReadOnlyDictionary<string, Object>> kmsProviders,
	IReadOnlyDictionary<string, BsonDocument> schemaMap
)

Parameters

kmsProviders
Type: System.Collections.GenericIReadOnlyDictionaryString, IReadOnlyDictionaryString, Object
The kms providers.
schemaMap
Type: System.Collections.GenericIReadOnlyDictionaryString, BsonDocument
The schema map.

Return Value

Type: CryptClient
The CryptClient instance.
See Also