private async Task <string> Payload(string path) { FileInfo = FileProvider.GetFileInfo(path); var data = FileInfo.ContentType(); var content = await GetContentBase64Async(); return($"data:{data};base64,{content}"); }
private async Task <string> Payload(string path) { FileInfo = FileProvider.GetFileInfo(path); var data = FileInfo.ContentType(); var content = await GetContentBase64Async(); return($"data:{data};base64,{content}"); }