String To Byte Array Base64 - CSharp System

CSharp examples for System:Byte Array

Description

String To Byte Array Base64

Demo Code


using System.Text;
using System.Collections.Generic;
using System;//ww w .ja v  a 2  s.c  om

public class Main{
        public static byte[] ToByteArrayBase64(string str)
        {
            return Convert.FromBase64String(str);
        }
}

Related Tutorials