IcmpV4Statistics.TimestampRequestsSent Eigenschaft

Definition

Ruft die Anzahl der gesendeten ICMPv4 (Internet Control Message Protocol, Version 4)-Timestamp Request-Meldungen ab.

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

Eigenschaftswert

Ein Int64-Wert, der die Gesamtzahl der gesendeten Timestamp Request-Meldungen angibt.

Beispiele

Im folgenden Beispiel wird der Wert dieser Eigenschaft angezeigt.

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 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

Hinweise

Eine Zeitstempelanforderungsmeldung bewirkt, dass der empfangende Computer eine Zeitstempelantwort zurück an den Ursprünglichen Computer sendet. Diese Nachrichten werden verwendet, um die Übertragungsgeschwindigkeit in einem Netzwerk zu messen.

Gilt für: