EncodeBase64 – Encoding a string to base64

' Returns the input string encoded to base64Private Function EncodeBase64(ByVal input As String) As String    Dim strBytes() As Byte = System.Text.Encoding.UTF8.GetBytes(input)    Return System.Convert.ToBase64String(strBytes)End Function

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: