public override int GetHashCode() { int hash = 0x3568932; hash ^= AETitle.GetHashCode(); hash ^= Name.GetHashCode(); hash ^= Description.GetHashCode(); hash ^= Location.GetHashCode(); return(hash); }
public bool CheckAETitle(string calledAETitle) { if (!EnableAETitleChecking) { return(true); } if (calledAETitle == null) { return(false); } return(calledAETitle.Trim() == AETitle.Trim()); }
public override int GetHashCode() { int hash = 0x5467912; if (AETitle != null) { hash ^= AETitle.GetHashCode(); } if (HostName != null) { hash ^= HostName.GetHashCode(); } hash ^= Port.GetHashCode(); return(hash); }