Hello everybody,
I need to write a HTTP client capable of downloading files using the
HTTP protocoll. But downloading is one of my problems. I'm new to VB.net
and I know there's a framework offering a solution for almost every
problem. But for me it's a bit complex.
So what I need:
I need a way to download files asynchronously. In VB6 I solved this
problem with a self-written component using sockets. As of the large
amount of classes in the net-framework I was first looking for a
built-in solution offering me the same functionality. I found various
samples working with HttpWebRequest and a StreamReader. But makeing this
asynchronous using a timer calling the Read method of the StreamReader
does not really make sense.
So is there a way to implement it that way that there occurs an event
when new data has been read from the server or do I have to implement it
using Sockets?
Thanks in advance,
Stefan
--
___________________________________www.VBTricks.de .vu
the free resource for Visual Basic, Gambas and Pascal
components, tips & complete projects
www: http://www.VBTricks.de.vu
mail: vbtricks <at> gmx <dot> net
__________________________________________________ ___