Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
        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));
        }