Method CreateMongoX509Credential
CreateMongoX509Credential(string)
Creates a credential used with MONGODB-X509.
public static MongoCredential CreateMongoX509Credential(string username = null)
Parameters
username
stringThe username.
Returns
- MongoCredential
A credential for MONGODB-X509.