Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (UserPublicKey != null ? UserPublicKey.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (KeyHandle != null ? KeyHandle.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (AttestationCertificate != null ? AttestationCertificate.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Signature != null ? Signature.GetHashCode() : 0);
         return(hashCode);
     }
 }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Version != null ? Version.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Challenge != null ? Challenge.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (AppId != null ? AppId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (KeyHandle != null ? KeyHandle.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SessionId != null ? SessionId.GetHashCode() : 0);
         return(hashCode);
     }
 }
Exemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = EnrollmentTime.GetHashCode();
         hashCode = (hashCode * 397) ^ (Transports != null ? Transports.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (KeyHandle != null ? KeyHandle.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (PublicKey != null ? PublicKey.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (AttestationCertificate != null ? AttestationCertificate.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Counter;
         return(hashCode);
     }
 }