public override int GetHashCode() { unchecked { var hashCode = Build.GetHashCode(); hashCode = hashCode * 397 ^ MainKey.GetHashCode(); hashCode = hashCode * 397 ^ DynamicKeys.GetHashCode(); hashCode = hashCode * 397 ^ Updated.GetHashCode(); return(hashCode); } }
public bool Equals(AesV2 other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Build == other.Build && MainKey == other.MainKey && DynamicKeys.Equals(other.DynamicKeys) && Updated.Equals(other.Updated)); }