Table of Contents

Method CreateMongoX509Credential

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

CreateMongoX509Credential(string)

Creates a credential used with MONGODB-X509.

public static MongoCredential CreateMongoX509Credential(string username = null)

Parameters

username string

The username.

Returns

MongoCredential

A credential for MONGODB-X509.