FdbEndPoint
Namespace: FoundationDB.Client · class
Implements: IPEndPoint, IEquatable<FdbEndPoint>, IFormattable
Represents a FoundationDB network endpoint as an IP address, port number and TLS mode.
Constructors
FdbEndPoint
FdbEndPoint(IPAddress address, int port, bool tls)
Properties
Tls
bool Tls { get; }
Gets or sets the TLS mode of the endpoint.
True if the endpoint uses TLS
Methods
Create
EndPoint Create(SocketAddress socketAddress)
Deconstruct
void Deconstruct(out IPAddress address, out int port)
void Deconstruct(out IPAddress address, out int port, out bool tls)
Equals
bool Equals(object other)
bool Equals(FdbEndPoint other)
GetHashCode
int GetHashCode()
IsValid
bool IsValid()
Tests if this is a valid endpoint
Serialize
SocketAddress Serialize()
ToString
string ToString()
string ToString(string format, IFormatProvider formatProvider)
TryParse
static bool TryParse(ReadOnlySpan<char> address, out FdbEndPoint endpoint)
Fields
Invalid
static readonly FdbEndPoint Invalid