Table of Contents

Method Equals

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Equals(MongoCredential)

Compares this MongoCredential to another MongoCredential.

public bool Equals(MongoCredential rhs)

Parameters

rhs MongoCredential

The other credential.

Returns

bool

True if the two credentials are equal.

Equals(object)

Compares this MongoCredential to another MongoCredential.

public override bool Equals(object obj)

Parameters

obj object

The other credential.

Returns

bool

True if the two credentials are equal.