Methode required equal to URLDownloadToCacheFile()

T

Thorsten

Hello,

the class WebClient has a method DownloadFile(), but in this case I would
need to care for the target directory and filename, as well as for deleting
the file after use.

In urlmon.dll is a method URLDownloadToCacheFile(), which downloads files
directly to the cache of Internet Explorer and gives me the temporary file
name of the downloaded file.

Is there nothing equal in the .Net Framework? I nearly can't believe it. Or
are there methods to retrieve the path to the cache of Internet Explorer and
to get a temporary file name?

Regards
Thorsten
 
A

Adarsh Khare [ MS ]

Support for caching is not available until .Net framework 1.1. In 2.0
release there would be caching suuport, where you could be able to specify
the caching policy on HttpWebRequest.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top