CngKeyBlobFormat.Equals Method

Definition

Compares two CngKeyBlobFormat objects.

Overloads

Equals(Object)

Compares the specified object to the current CngKeyBlobFormat object.

Equals(CngKeyBlobFormat)

Compares the specified CngKeyBlobFormat object to the current CngKeyBlobFormat object.

Equals(Object)

Compares the specified object to the current CngKeyBlobFormat object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

An object to be compared to the current CngKeyBlobFormat object.

Returns

true if the obj parameter is a CngKeyBlobFormat object that specifies the same key BLOB format as the current object; otherwise, false.

Equals(CngKeyBlobFormat)

Compares the specified CngKeyBlobFormat object to the current CngKeyBlobFormat object.

public:
 virtual bool Equals(System::Security::Cryptography::CngKeyBlobFormat ^ other);
public bool Equals (System.Security.Cryptography.CngKeyBlobFormat other);
override this.Equals : System.Security.Cryptography.CngKeyBlobFormat -> bool
Public Function Equals (other As CngKeyBlobFormat) As Boolean

Parameters

other
CngKeyBlobFormat

An object to be compared to the current CngKeyBlobFormat object.

Returns

true if the other parameter specifies the same key BLOB format as the current object; otherwise, false.

Implements

Applies to