System.Net

System.Net.Http is a .NET API, and it is only available for C# and VB developers.



How to download data, files, images, pages etc

There are several different ways you can download content from the web using http

  • WebClient - Basic method and uses simple GET requests

  • HTTPWebRequest - Advanced method


Advantages of using WebClient

  • The results data is returned on your UI thread.



httplistener ??



My.Computer.DownloadFile

Provides a shortcut if you want to quickly download a file.




Launching a Web Page

System.Diagnostics.Process.Start("https://bettersolutions.com")



You can re-enable ASP.NET debugging on the Projects property pages of the Debugging page.






© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited TopPrevNext