Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 444 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 444 Bytes

MediaDownloadCache

Adds a cache layer to downloaded files from a url

Usage

Download mdc = new Download();
MemoryStream stream = mdc.DownloadUrl(url, timeSpan, directory);

Parameter explanation

url = file to download

timeSpan = Minutes to keep the file cached before downloading it again

directory = target folder to save the cached file.

Flowchart diagram

alt text