UtilEncryptionHexadecimalEncode Method
Encodes a string using Hexadecimal codification.
Namespace: DevCase.Core.Security.Cryptography.EncryptionAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string HexadecimalEncode(
string str,
string separator = "",
Encoding enc = null
)
Public Shared Function HexadecimalEncode (
str As String,
Optional separator As String = "",
Optional enc As Encoding = Nothing
) As String
Dim str As String
Dim separator As String
Dim enc As Encoding
Dim returnValue As String
returnValue = UtilEncryption.HexadecimalEncode(str,
separator, enc)
public:
static String^ HexadecimalEncode(
String^ str,
String^ separator = L"",
Encoding^ enc = nullptr
)
static member HexadecimalEncode :
str : string *
?separator : string *
?enc : Encoding
(* Defaults:
let _separator = defaultArg separator ""
let _enc = defaultArg enc null
*)
-> string
No code example is currently available or this language may not be supported.
- str String
-
The string to encode.
- separator String (Optional)
-
The string used to separate Hexadecimal sequences.
- enc Encoding (Optional)
-
The text Encoding.
String
The encoded string.
This is a code example.
No code example is currently available or this language may not be supported.
Dim encoded As String = HexadecimalEncode("Hello World!", separator:=" ")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.