Check if supplied string is a series of hexadecimal numbers.
The check is made ONLY on the first 20 hex numbers, if these are present.
Namespace: LLCryptoLib.UtilsAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
| C# |
|---|
public static bool IsHex(
string text,
HexEnum style
) |
| Visual Basic |
|---|
Public Shared Function IsHex ( _
text As String, _
style As HexEnum _
) As Boolean |
| Visual C++ |
|---|
public:
static bool IsHex(
String^ text,
HexEnum style
) |
Return Value
True, if supplied string appears to be hexadecimal
Exceptions
| Exception | Condition |
|---|
| System..::..ArgumentNullException | |
See Also