vb System.Net.NetworkInformation.IPGlobalStatistics.ReceivedPacketsWithUnknownProtocol类(方法)实例源码

下面列出了vb System.Net.NetworkInformation.IPGlobalStatistics.ReceivedPacketsWithUnknownProtocol 类(方法)源码代码实例,从而了解它的用法。

作者:VB.NET开发    项目:System.Net.NetworkInformatio   
Public Shared Sub ShowInboundIPErrors() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim ipstat As IPGlobalStatistics = properties.GetIPv4GlobalStatistics()
    Console.WriteLine("  Inbound Packet Errors:")
    Console.WriteLine("      Header Errors ....................... : {0}", ipstat.ReceivedPacketsWithHeadersErrors)
    Console.WriteLine("      Address Errors ...................... : {0}", ipstat.ReceivedPacketsWithAddressErrors)
    Console.WriteLine("      Unknown Protocol Errors ............. : {0}", ipstat.ReceivedPacketsWithUnknownProtocol)

End Sub


问题


面经


文章

微信
公众号

扫码关注公众号