IPGlobalStatistics::NumberOfIPAddresses Property
.NET Framework (current version)
Gets the number of Internet Protocol (IP) addresses assigned to the local computer.
Assembly: System (in System.dll)
The data returned by this property includes addresses of pseudo network interfaces such as tunnels.
If this instance was obtained by calling GetIPv4GlobalStatistics, this property returns the number of IPv4 addresses assigned to the local computer. Similarly, if this instance was obtained by calling GetIPv6GlobalStatistics, this property returns the number of IPv6 addresses assigned to the local computer.
.NET Framework
Available since 2.0
Available since 2.0
Show: