public override int GetHashCode() { const int prime = 397; var result = HostAddress.ToLower().GetHashCode(); // package path must be case-insensitive result = (result * prime) ^ PackageID.GetHashCode(); // combine the hashes return(result); }