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

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

IPGlobalStatistics.ForwardingEnabled プロパティ

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

インターネット プロトコル (IP) パケット転送が有効かどうかを示す Boolean 値を取得します

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

Public MustOverride ReadOnly
 Property ForwardingEnabled As Boolean
Dim instance As IPGlobalStatistics
Dim value As Boolean

value = instance.ForwardingEnabled
public abstract bool ForwardingEnabled { get;
 }
public:
virtual property bool ForwardingEnabled {
    bool get () abstract;
}
/** @property */
public abstract boolean get_ForwardingEnabled ()

プロパティ
パケット転送が有効かどうかを示す Boolean 値。

解説解説
使用例使用例

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

Public Shared Sub ShowIPStatistics()
 
    Dim properties As IPGlobalProperties =
 IPGlobalProperties.GetIPGlobalProperties()
    Dim ipstat As IPGlobalStatistics = properties.GetIPv4GlobalStatistics()
    Console.WriteLine("  Forwarding enabled ......................
 : {0}", ipstat.ForwardingEnabled)
    Console.WriteLine("  Interfaces ..............................
 : {0}", ipstat.NumberOfInterfaces)
    Console.WriteLine("  IP addresses ............................
 : {0}", ipstat.NumberOfIPAddresses)
    Console.WriteLine("  Routes ..................................
 : {0}", ipstat.NumberOfRoutes)
    Console.WriteLine("  Default TTL .............................
 : {0}", ipstat.DefaultTtl)

End Sub 'ShowIPStatistics

public static void ShowIPStatistics()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IPGlobalStatistics ipstat = properties.GetIPv4GlobalStatistics();
    Console.WriteLine("  Forwarding enabled ...................... : {0}",
 
        ipstat.ForwardingEnabled);
    Console.WriteLine("  Interfaces .............................. : {0}",
 
        ipstat.NumberOfInterfaces);
    Console.WriteLine("  IP addresses ............................ : {0}",
 
        ipstat.NumberOfIPAddresses);
    Console.WriteLine("  Routes .................................. : {0}",
 
        ipstat.NumberOfRoutes);
    Console.WriteLine("  Default TTL ............................. : {0}",
 
        ipstat.DefaultTtl);
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IPGlobalStatistics クラス
IPGlobalStatistics メンバ
System.Net.NetworkInformation 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からIPGlobalStatistics.ForwardingEnabled プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からIPGlobalStatistics.ForwardingEnabled プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からIPGlobalStatistics.ForwardingEnabled プロパティ を検索

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS