byte array To Base64 String - CSharp System

CSharp examples for System:Byte Array

Description

byte array To Base64 String

Demo Code


using System.Text;
using System.Collections.Generic;
using System;// ww  w .  ja  v  a2s.c o  m

public class Main{
        public static string ToBase64String(byte[] data)
        {
            return Convert.ToBase64String(data);
        }
}

Related Tutorials