IcmpV4Statistics.EchoRequestsSent プロパティ
アセンブリ: System (system.dll 内)
構文送信した ICMP エコー要求メッセージの合計数を示す Int64 値。
解説コンピュータは、エコー要求メッセージおよびエコー応答メッセージにより、ネットワーク上のリモート コンピュータに対して ICMP 応答を要求できます。この機能は、リモート アドレスの有効性を判断するためによく使用されます。
使用例Public Shared Sub ShowIcmpV4EchoData() Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties() Dim statistics As IcmpV4Statistics = properties.GetIcmpV4Statistics() Console.WriteLine(" Echo Requests ....................... Sent: {0,-10} Received: {1,-10}", statistics.EchoRequestsSent, statistics.EchoRequestsReceived) Console.WriteLine(" Echo Replies ........................ Sent: {0,-10} Received: {1,-10}", statistics.EchoRepliesSent, statistics.EchoRepliesReceived) End Sub 'ShowIcmpV4EchoData
public static void ShowIcmpV4EchoData() { IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties(); IcmpV4Statistics statistics = properties.GetIcmpV4Statistics(); Console.WriteLine(" Echo Requests ....................... Sent: {0,-10} Received: {1,-10}", statistics.EchoRequestsSent, statistics.EchoRequestsReceived); Console.WriteLine(" Echo Replies ........................ Sent: {0,-10} Received: {1,-10}", statistics.EchoRepliesSent, statistics.EchoRepliesReceived); }
プラットフォームWindows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照Weblioに収録されているすべての辞書からIcmpV4Statistics.EchoRequestsSent プロパティを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からIcmpV4Statistics.EchoRequestsSent プロパティ
を検索
- IcmpV4Statistics.EchoRequestsSent プロパティのページへのリンク