Authentication and Proxies

In all our previous discussions on the network classes, we dealt with accessing URIs and establishing connections in a very simplistic fashion; we have assumed an open and free landscape of network resources and servers that blindly accept our requests for connections, file downloads, resource uploads, and protocol queries. This has been useful to conduct our quick tour of these networking classes, but the real world acts a bit differently: Conscientious server administrators and software architects tend to require proper credentials from a client before handing over the rights to access files or traverse Web directories. In this section, we will talk about the System.Net structures that allow programmers to provide ...

Get Visual Basic® Programmer's Guide to the .NET Framework Class Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.