Click or drag to resize

EndPointHelperEquals Method

Compares two end points.

Namespace:  MongoDB.Driver.Core.Misc
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public static bool Equals(
	EndPoint a,
	EndPoint b
)

Parameters

a
Type: System.NetEndPoint
The first end point.
b
Type: System.NetEndPoint
The second end point.

Return Value

Type: Boolean
True if both end points are equal, or if both are null.
See Also