Hey guys,
I already know how to download a file from a URL and save it in C# WPF but it would only work if the file started downloading immediately (no waiting). Is it possible to download from a site which makes the user wait eg. 10 seconds before starting the download? Eg. Sourceforge?
Thanks,
Loading
Guest UserPosted Jul 29, 2014, 6:41 AM
Please paste code of C# WPF application which you're using to download the file.
Squabbi KongPosted Jul 28, 2014, 4:36 AM
Guest UserPosted Jul 27, 2014, 11:33 PM
if you want to replicate like sourceforge then you can add delay using
# Thread.sleep(10)
# Add timer control
# If you're using .NET 4.5 you can use the new async/await framework to sleep without locking the thread