RSAEncryptionPadding::Equality Operator (RSAEncryptionPadding^, RSAEncryptionPadding^)

 

Indicates whether two specified RSAEncryptionPadding objects are equal.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public:
static bool operator ==(
	RSAEncryptionPadding^ left,
	RSAEncryptionPadding^ right
)

Parameters

left
Type: System.Security.Cryptography::RSAEncryptionPadding^

The first object to compare.

right
Type: System.Security.Cryptography::RSAEncryptionPadding^

The second object to compare.

Return Value

Type: System::Boolean

true if left and right are equal; otherwise, false.

Two RSAEncryptionPadding objects are equal if their Mode and OaepHashAlgorithm property values are equal.

.NET Framework
Available since 4.6
Return to top
Show: