public static String ToBase64String(this String source) { return Convert.ToBase64String(Encoding.UTF8.GetBytes(source)); }