public string DecodeBase64String(string encodedData)
{
byte[] encodedDataAsBytes = System.Convert.FromBase64String(encodedData);
string returnValue = System.Text.ASCIIEncoding.ASCII.GetString(encodedDataAsBytes);
return returnValue;
}
Thanks for this. Very useful :)
ReplyDeleteThanks. Unlike most other blogs, your way of coding is simple(and less blabbering) This is really useful. Keep up the good work!! \m/
ReplyDelete