IcmpV4Statistics.TimestampRequestsSent 속성

정의

전송된 ICMPv4(Internet Control Message Protocol 버전 4) 타임스탬프 요청 메시지의 수를 가져옵니다.

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

속성 값

Int64 전송된 타임스탬프 요청 메시지의 총 수를 지정하는 값입니다.

예제

다음 예제에서는이 속성의 값을 표시 합니다.

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

설명

타임스탬프 요청 메시지를 사용하면 수신 컴퓨터가 타임스탬프 회신을 원래 컴퓨터로 다시 보냅니다. 이러한 메시지는 네트워크의 전송 속도를 측정하는 데 사용됩니다.

적용 대상