NetworkInterface.GetIPv4Statistics 方法

定义

获取此 NetworkInterface 实例的 IPv4 统计信息。

public:
 virtual System::Net::NetworkInformation::IPv4InterfaceStatistics ^ GetIPv4Statistics();
public:
 abstract System::Net::NetworkInformation::IPv4InterfaceStatistics ^ GetIPv4Statistics();
public virtual System.Net.NetworkInformation.IPv4InterfaceStatistics GetIPv4Statistics ();
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
public virtual System.Net.NetworkInformation.IPv4InterfaceStatistics GetIPv4Statistics ();
public abstract System.Net.NetworkInformation.IPv4InterfaceStatistics GetIPv4Statistics ();
abstract member GetIPv4Statistics : unit -> System.Net.NetworkInformation.IPv4InterfaceStatistics
override this.GetIPv4Statistics : unit -> System.Net.NetworkInformation.IPv4InterfaceStatistics
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
abstract member GetIPv4Statistics : unit -> System.Net.NetworkInformation.IPv4InterfaceStatistics
override this.GetIPv4Statistics : unit -> System.Net.NetworkInformation.IPv4InterfaceStatistics
abstract member GetIPv4Statistics : unit -> System.Net.NetworkInformation.IPv4InterfaceStatistics
Public Overridable Function GetIPv4Statistics () As IPv4InterfaceStatistics
Public MustOverride Function GetIPv4Statistics () As IPv4InterfaceStatistics

返回

一个 IPv4InterfaceStatistics 对象。

属性

适用于