VB.NET
VB.NET
Example: Crypt2.DecodeString method
Demonstrates how to call the DecodeString method.Chilkat VB.NET Downloads
Dim crypt2 As New Chilkat.Crypt2
' The string "Hello World" in base64 (using the utf-8 byte representation) is "SGVsbG8gV29ybGQ="
Dim encodedStr As String = "SGVsbG8gV29ybGQ="
Dim encoding As String = "base64"
Dim charset As String = "utf-8"
Dim str As String = crypt2.DecodeString(encodedStr,charset,encoding)
Debug.WriteLine(str)
' Output is "Hello World"