this is a rets downloader in C#