IcmpV4Statistics.TimestampRequestsSent Eigenschap

Definitie

Hiermee wordt het aantal timestampaanvraagberichten van internet control message protocol versie 4 (ICMPv4) opgehaald dat is verzonden.

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

Waarde van eigenschap

Een Int64 waarde die het totale aantal tijdstempelaanvraagberichten 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