public static byte[] FromBase64String (string s)
{
if (s == null)
throw new ArgumentNullException ("s");
if (s.Length == 0) {
return new byte[0];
}
#if NET_2_0
return InternalFromBase64String (s, true);
#else
return InternalFromBase64String (s, false);
#endif
}