Click or drag to resize

WindowsUtilities.EqualsOrdinal Method (SecureString, SecureString, Boolean)

Compares two secure strings by evaluating the numeric values of the corresponding character objects in each string.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static bool EqualsOrdinal(
	this SecureString text1,
	SecureString text2,
	bool ignoreCase = false
)

Parameters

text1
Type: System.Security.SecureString
The first secure string.
text2
Type: System.Security.SecureString
The second secure string.
ignoreCase (Optional)
Type: System.Boolean
if set to true case is ignored during comparison.

Return Value

Type: Boolean
true if both strings are equal, false otherwise.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SecureString. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also