Transform a string to hex
Namespace: LLCryptoLib.UtilsAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
| C# |
|---|
public static string Text2Hex( string text, HexEnum style ) |
| Visual Basic |
|---|
Public Shared Function Text2Hex ( _ text As String, _ style As HexEnum _ ) As String |
| Visual C++ |
|---|
public: static String^ Text2Hex( String^ text, HexEnum style ) |
Parameters
- text
- Type: System..::..String
input string
- style
- Type: LLCryptoLib.Utils..::..HexEnum
hexadecimal style
Return Value
Hex version of input string
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException |