public override bool Equals(object obj) { if (obj==null) return false; if (ReferenceEquals(obj, this)) return true; return this.Device.Equals(((NatDevice)obj).Device); }