UtilEncryptionBase64Encode(String, Encoding) Method
Encodes a string using Base64 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 Base64Encode(
string str,
Encoding enc = null
)
Public Shared Function Base64Encode (
str As String,
Optional enc As Encoding = Nothing
) As String
Dim str As String
Dim enc As Encoding
Dim returnValue As String
returnValue = UtilEncryption.Base64Encode(str,
enc)
public:
static String^ Base64Encode(
String^ str,
Encoding^ enc = nullptr
)
static member Base64Encode :
str : string *
?enc : Encoding
(* Defaults:
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.
- 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 = Base64Encode("Hello World!")
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.