Provides access to network traffic data, network address information, and notification of address changes for the local computer. Commonly Used Types: System.Net.NetworkInformation.NetworkInterface System.Net.NetworkInformation.NetworkInformationException System.Net.NetworkInformation.NetworkAddressChangedEventHandler System.Net.NetworkInformation.NetworkInterfaceType System.Net.NetworkInformation.OperationalStatus System.Net.NetworkInformation.IPGlobalProperties System.Net.NetworkInformation.UnicastIPAddressInformation System.Net.NetworkInformation.UnicastIPAddressInformationCollection System.Net.NetworkInformation.PhysicalAddress System.Net.NetworkInformation.TcpConnectionInformation
dotnet add package System.Net.NetworkInformation --version 4.1.0-beta-23225
Install-Package System.Net.NetworkInformation -Version 4.1.0-beta-23225
| 包名 | 版本要求 |
|---|---|
| System.Runtime | [4.0.0, ) |
| System.Threading.Tasks | [4.0.0, ) |
| System.Net.Primitives | [4.0.10, ) |
| 包名 | 版本要求 |
|---|---|
| System.Runtime | [4.0.20, ) |
| System.Private.Networking | [4.0.1-beta-23225, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2015-09-02 00:09:31 |
| 许可证 | http://go.microsoft.com/fwlink/?LinkId=329770 |