Exemple #1
0
 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;
 }
Exemple #2
0
  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;
  }
 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;
    }