public static string FromMemoryStream(MemoryStream value) { return Convert.ToBase64String(value.ToArray()); }