Exemple #1
0
    private async Task <string> Payload(string path)
    {
        FileInfo = FileProvider.GetFileInfo(path);
        var data    = FileInfo.ContentType();
        var content = await GetContentBase64Async();

        return($"data:{data};base64,{content}");
    }