4 namespace System.Net.NetworkInformation
7 /// Provides information about a network interface address.
8 internal class SystemGatewayIPAddressInformation:GatewayIPAddressInformation
12 private SystemGatewayIPAddressInformation(IPAddress address){
13 this.address = address;
16 /// Gets the Internet Protocol (IP) address.
17 public override IPAddress Address {
23 internal static GatewayIPAddressInformationCollection ToGatewayIpAddressInformationCollection(IPAddressCollection addresses) {
24 GatewayIPAddressInformationCollection gatewayList = new GatewayIPAddressInformationCollection();
25 foreach (IPAddress address in addresses) {
26 gatewayList.InternalAdd(new SystemGatewayIPAddressInformation(address));