8 private int networkInterface;
20 this.address = address;
21 this.networkInterface = networkInterface;
31 return packetInformation1.
Equals(packetInformation2);
41 return !packetInformation1.
Equals(packetInformation2);
48 public override bool Equals(
object comparand)
50 if (comparand ==
null)
59 if (address.Equals(iPPacketInformation.address) && networkInterface == iPPacketInformation.networkInterface)
70 return address.
GetHashCode() + networkInterface.GetHashCode();
override int GetHashCode()
Returns a hash value for an IP address.
Provides an Internet Protocol (IP) address.