Network Programming Samples
This section contains descriptions and links to downloadable network programming samples that use classes in the System.Net, System.Net.Cache, System.Net.Configuration, System.Net.Mail, System.Net.Mime, System.Net.NetworkInformation, System.Net.Security, System.Net.Sockets, and related namespaces.
All samples are available in the .NET Framework SDK version 2.0 Samples Download, which was released for the .NET Framework 2.0 and may be dated.
In This Section
Download Progress Indicator Technology Sample
Shows how to display the progress of a file download.
FTP Client Technology Sample
Shows how to upload and download files to and from an FTP server.
HttpListener Technology Sample
Shows how to process HTTP requests from within an application.
Mailer Technology Sample
Shows how to send email messages from a client application.
NetStat Tool Technology Sample
Demonstrates the NCLNetStat network information tool.
Network Information Technology Sample
Shows how to monitor and display network information.
Ping Client Technology Sample
Demonstrates a client application that can ping a remote host.
WebClient Technology Sample
Demonstrates how to perform common operations, such as the upload or download of files or data.
Secure Streams Sample
Shows how to use a secure stream to communicate between a client and a server.
IPv6 Sockets Sample
Demonstrates how to use sockets when IPv6 is enabled.
FTP Explorer Technology Sample
Demonstrates how to list the contents of an FTP server.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.