Table of Contents

Method UsernamePassword

Namespace
MongoDB.Driver.Core.Connections
Assembly
MongoDB.Driver.dll

UsernamePassword(string, string)

Creates authentication settings for username and password.

public static Socks5AuthenticationSettings UsernamePassword(string username, string password)

Parameters

username string

The username

password string

The password

Returns

Socks5AuthenticationSettings