public DotNetInterface(NetworkInterface n, UdpIPv4Address[] gw, UdpIPv4Address[] uni, UdpIPv4Address[] multi) { this.name = DotNetInterface.ParseName(n); this.linkType = DotNetInterface.ParseLinkType(n); this.physicalAddress = DotNetInterface.ParsePhysicalAddress(n); this.gatewayAddresses = gw; this.unicastAddresses = uni; this.multicastAddresses = multi; }
public DotNetInterface(NetworkInterface n, UdpIPv4Address[] gw, UdpIPv4Address[] uni, UdpIPv4Address[] multi) { name = ParseName(n); linkType = ParseLinkType(n); physicalAddress = ParsePhysicalAddress(n); gatewayAddresses = gw; unicastAddresses = uni; multicastAddresses = multi; }