Hi, in vb.net i'm using this code:
<br />
'Start download<br />
Dim WebClient As New System.Net.WebClient()<br />
WebClient.DownloadFile(New Uri(strYourUrl), strWhereToSave)<br />
strYourUrl = string like http://www.youtube.com/watch?v=JRp2XedXkSA&feature=g-high-u
strWhereToSave = Directory where to save it, like C:\Examens
Remarks:
This will wait untill the file is downloaded to continue in the code,
you can use async downloads if you want too but i find it harder to use.
Bert