CngAlgorithm.Equality Operator (CngAlgorithm, CngAlgorithm)

 

Determines whether two CngAlgorithm objects specify the same algorithm name.

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

public static bool operator ==(
	CngAlgorithm left,
	CngAlgorithm right
)

Parameters

left
Type: System.Security.Cryptography.CngAlgorithm

An object that specifies an algorithm name.

right
Type: System.Security.Cryptography.CngAlgorithm

A second object, to be compared to the object that is identified by the left parameter.

Return Value

Type: System.Boolean

true if the two objects specify the same algorithm name; otherwise, false.

.NET Framework
Available since 3.5
Return to top
Show: