c# convert bytes to base64 string code example
Example 1: base64 string to byte array c#
byte[] l_Data = Convert.FromBase64String(l_PlainText);
Example 2: c# byte array to base64
public static string ToBase64String (byte[] inArray, int offset, int length, Base64FormattingOptions options);