IcmpV4Statistics.EchoRequestsReceived プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > IcmpV4Statistics.EchoRequestsReceived プロパティの意味・解説 

IcmpV4Statistics.EchoRequestsReceived プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

受信したインターネット コントロール メッセージ プロトコル Version 4 (ICMPv4) エコー要求メッセージの数を取得します

名前空間: System.Net.NetworkInformation
アセンブリ: System (system.dll 内)
構文構文

Public MustOverride ReadOnly
 Property EchoRequestsReceived As Long
Dim instance As IcmpV4Statistics
Dim value As Long

value = instance.EchoRequestsReceived
public abstract long EchoRequestsReceived { get;
 }
public:
virtual property long long EchoRequestsReceived {
    long long get () abstract;
}
/** @property */
public abstract long get_EchoRequestsReceived ()
public abstract function get
 EchoRequestsReceived () : long

プロパティ
受信した ICMP エコー要求メッセージ合計数を示す Int64 値。

解説解説
使用例使用例

このプロパティの値を表示する例を次に示します

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);
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IcmpV4Statistics クラス
IcmpV4Statistics メンバ
System.Net.NetworkInformation 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

IcmpV4Statistics.EchoRequestsReceived プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



IcmpV4Statistics.EchoRequestsReceived プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS