public static byte[] FromBase64(string base64)
{
if (base64 == null) //Then Throw New ArgumentNullException("base64")
{
return new byte[0];
}
else
{
return Convert.FromBase64String(base64);
}
}
{
if (base64 == null) //Then Throw New ArgumentNullException("base64")
{
return new byte[0];
}
else
{
return Convert.FromBase64String(base64);
}
}
No comments:
Post a Comment