Table of Contents

Class TransportConnectionInformation

Namespace
IceRpc.Transports
Assembly
IceRpc.dll

The transport connection information returned on connection establishment.

public sealed record TransportConnectionInformation : IEquatable<TransportConnectionInformation>
Inheritance
TransportConnectionInformation
Implements
Inherited Members

Constructors

TransportConnectionInformation(EndPoint, EndPoint, X509Certificate?)

Constructs a new instance of TransportConnectionInformation.

public TransportConnectionInformation(EndPoint localNetworkAddress, EndPoint remoteNetworkAddress, X509Certificate? remoteCertificate)

Parameters

localNetworkAddress EndPoint

The local network address.

remoteNetworkAddress EndPoint

The remote network address.

remoteCertificate X509Certificate

The remote certificate.

Properties

LocalNetworkAddress

Gets the network address of the local end of the connection.

public EndPoint LocalNetworkAddress { get; }

Property Value

EndPoint

The local network address.

RemoteCertificate

Gets the certificate of the peer, if provided.

public X509Certificate? RemoteCertificate { get; }

Property Value

X509Certificate

The certificate of the peer or null if the peer didn't provide one.

RemoteNetworkAddress

Gets the network address of the remote end of the connection.

public EndPoint RemoteNetworkAddress { get; }

Property Value

EndPoint

The remote network address.