MsQuicConnectionStatistics Struct

The statistics of a connection, see MsQuicConnection.GetStatistics.

public readonly struct MsQuicConnectionStatistics : IEquatable<MsQuicConnectionStatistics>
Implements

Properties

NameDescription
BytesReceivedGets the number of bytes received in UDP payloads, including the QUIC overhead.
BytesSentGets the number of bytes sent in UDP payloads, including the QUIC overhead.
CongestionEventsGets the number of congestion events.
CongestionWindowGets the size of the congestion window, in bytes.
MaxRoundTripTimeGets the maximum round-trip time observed.
MinRoundTripTimeGets the minimum round-trip time observed.
PacketsDroppedGets the number of received packets dropped, duplicates included.
PacketsLostGets the number of packets considered lost, excluding the ones acknowledged later.
PacketsReceivedGets the number of QUIC packets received.
PacketsSentGets the number of QUIC packets sent.
PathMtuGets the current maximum transmission unit of the path, in bytes.
RoundTripTimeVariationGets the variation of the round-trip time.
SmoothedRoundTripTimeGets the smoothed round-trip time.
StreamBytesReceivedGets the number of stream bytes received.
StreamBytesSentGets the number of stream bytes sent.

Gets the number of bytes received in UDP payloads, including the QUIC overhead.

public long BytesReceived { get; init; }

Property value

long

Gets the number of bytes sent in UDP payloads, including the QUIC overhead.

public long BytesSent { get; init; }

Property value

long

Gets the number of congestion events.

public long CongestionEvents { get; init; }

Property value

long

Gets the size of the congestion window, in bytes.

public long CongestionWindow { get; init; }

Property value

long

Gets the maximum round-trip time observed.

public TimeSpan MaxRoundTripTime { get; init; }

Property value

TimeSpan

Gets the minimum round-trip time observed.

public TimeSpan MinRoundTripTime { get; init; }

Property value

TimeSpan

Gets the number of received packets dropped, duplicates included.

public long PacketsDropped { get; init; }

Property value

long

Gets the number of packets considered lost, excluding the ones acknowledged later.

public long PacketsLost { get; init; }

Property value

long

Gets the number of QUIC packets received.

public long PacketsReceived { get; init; }

Property value

long

Gets the number of QUIC packets sent.

public long PacketsSent { get; init; }

Property value

long

Gets the current maximum transmission unit of the path, in bytes.

public int PathMtu { get; init; }

Property value

int

RoundTripTimeVariation

MsQuicConnectionStatistics.cs

Gets the variation of the round-trip time.

public TimeSpan RoundTripTimeVariation { get; init; }

Property value

TimeSpan

SmoothedRoundTripTime

MsQuicConnectionStatistics.cs

Gets the smoothed round-trip time.

public TimeSpan SmoothedRoundTripTime { get; init; }

Property value

TimeSpan

Gets the number of stream bytes received.

public long StreamBytesReceived { get; init; }

Property value

long

Gets the number of stream bytes sent.

public long StreamBytesSent { get; init; }

Property value

long

Methods

NameDescription
Equals(MsQuicConnectionStatistics)
Equals(object)
GetHashCode()
ToString()

Equals overloads

Equals(MsQuicConnectionStatistics)

public bool Equals(MsQuicConnectionStatistics other)
Parameters
other MsQuicConnectionStatistics
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(MsQuicConnectionStatistics, MsQuicConnectionStatistics)
operator !=(MsQuicConnectionStatistics, MsQuicConnectionStatistics)

operator ==(MsQuicConnectionStatistics, MsQuicConnectionStatistics)

public static bool operator ==(MsQuicConnectionStatistics left, MsQuicConnectionStatistics right)

No documentation is available.

operator !=(MsQuicConnectionStatistics, MsQuicConnectionStatistics)

public static bool operator !=(MsQuicConnectionStatistics left, MsQuicConnectionStatistics right)

No documentation is available.