예제 #1
0
        private async Task <string> DownloadImage(string guid)
        {
            var imgpath = System.IO.Path.Combine("./Temp/", guid + ".png");

            if (!File.Exists(imgpath))
            {
                return(await API.DownloadCoverImage(guid, imgpath));
            }
            return(System.IO.Path.GetFullPath(imgpath));
        }