IcmpV4Statistics.TimestampRepliesSent Eigenschap

Definitie

Hiermee wordt het aantal ICMPv4-tijdstempelberichten (Internet Control Message Protocol versie 4) opgehaald dat is verzonden.

public:
 abstract property long TimestampRepliesSent { long get(); };
public abstract long TimestampRepliesSent { get; }
member this.TimestampRepliesSent : int64
Public MustOverride ReadOnly Property TimestampRepliesSent As Long

Waarde van eigenschap

Een Int64 waarde die het totale aantal tijdstempelberichten aangeeft dat is verzonden.

Voorbeelden

In het volgende voorbeeld wordt de waarde van deze eigenschap weergegeven.

public static void ShowTimestampData()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV4Statistics statistics = properties.GetIcmpV4Statistics();
    Console.WriteLine("  Timestamp Requests .................. Sent: {0,-10}   Received: {1,-10}",
        statistics.TimestampRequestsSent, statistics.TimestampRequestsReceived);
    Console.WriteLine("  Timestamp Replies ................... Sent: {0,-10}   Received: {1,-10}",
        statistics.TimestampRepliesSent, statistics.TimestampRepliesReceived);
}
Public Shared Sub ShowTimestampData() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim statistics As IcmpV4Statistics = properties.GetIcmpV4Statistics()
    Console.WriteLine("  Timestamp Requests .................. Sent: {0,-10}   Received: {1,-10}", statistics.TimestampRequestsSent, statistics.TimestampRequestsReceived)
    Console.WriteLine("  Timestamp Replies ................... Sent: {0,-10}   Received: {1,-10}", statistics.TimestampRepliesSent, statistics.TimestampRepliesReceived)

End Sub

Opmerkingen

Een tijdstempelaanvraagbericht zorgt ervoor dat de ontvangende computer een tijdstempelantwoord terugstuurt naar de oorspronkelijke computer. Deze berichten worden gebruikt om de overdrachtssnelheid op een netwerk te meten.

Van toepassing op