CngProperty.Inequality Operator (CngProperty, CngProperty)


Determines whether two CngProperty objects do not specify the same property name, value, and options.

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

public static bool operator !=(
	CngProperty left,
	CngProperty right


Type: System.Security.Cryptography.CngProperty

An object that specifies a property of a Cryptography Next Generation (CNG) key or provider.

Type: System.Security.Cryptography.CngProperty

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 do not specify the same property; otherwise, false.

CngProperty objects are considered equal if their names, values, and options are equivalent. Name comparison is performed in a case-sensitive manner.

.NET Framework
Available since 3.5
Return to top