c# byte[] to base64 string code example
Example 1: byte[] to base 65 string in C#
// convert byte[] to base 64 string
Convert.ToBase64String(bytes, 0, bytes.Length)
Example 2: c# byte array to base64
public static string ToBase64String (byte[] inArray, int offset, int length, Base64FormattingOptions options);