SecureStringExtensionsEqualsOrdinal(SecureString, String, Boolean) Method
Determines whether a SecureString and a String object have
the same characters in the same order, using ordinal comparison.
Namespace: DevCase.Extensions.SecureStringExtensionsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool EqualsOrdinal(
this SecureString secureString,
string str,
bool ignoreCase = false
)
<ExtensionAttribute>
Public Shared Function EqualsOrdinal (
secureString As SecureString,
str As String,
Optional ignoreCase As Boolean = false
) As Boolean
Dim secureString As SecureString
Dim str As String
Dim ignoreCase As Boolean
Dim returnValue As Boolean
returnValue = secureString.EqualsOrdinal(str,
ignoreCase)
public:
[ExtensionAttribute]
static bool EqualsOrdinal(
SecureString^ secureString,
String^ str,
bool ignoreCase = false
)
[<ExtensionAttribute>]
static member EqualsOrdinal :
secureString : SecureString *
str : string *
?ignoreCase : bool
(* Defaults:
let _ignoreCase = defaultArg ignoreCase false
*)
-> bool
No code example is currently available or this language may not be supported.
- secureString SecureString
-
The first SecureString to compare.
- str String
-
The second String to compare.
- ignoreCase Boolean (Optional)
-
True to perform a case-insensitive comparison; otherwise, False.
Boolean
True if the two
SecureString objects are equal; otherwise, False.
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).