Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# : How to download a file into specific file path with out using web browser

I have a link ,

http://localhost/project/slide.pptx

How to download it into specific file location without using web browser. : C#

like image 635
Prince OfThief Avatar asked Dec 29 '22 04:12

Prince OfThief


1 Answers

Use WebClient.DownloadFile(Uri,String) method.

like image 149
decyclone Avatar answered Jan 30 '23 13:01

decyclone