IcmpV4Statistics.TimestampRequestsReceived Eigenschaft

Definition

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

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

Eigenschaftswert

Ein Int64-Wert, der die Gesamtzahl der empfangenen 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: