Tag Archives: network

Map between host names and IP addresses in C#

When you enter a host name and click Go, the program uses the following code to look up the host and display the IP addresses associated with it. using System.Net; … // Display the entered host’s IP address. private void … Continue reading

Posted in internet, network, system | Tagged , , , , , , , , , , , , , , , | Leave a comment

See if Internet Explorer uses a proxy in C#

This example determines whether the system has Internet Explorer configured to use a proxy. Internet Explorer lets you specify proxy settings. In the Tools menu, select Internet Options. On the Connections tab, click the LAN Settings button. The goal of … Continue reading

Posted in internet, network, system | Tagged , , , , , , , , , , | Leave a comment

Access firewall information and check firewall status using the dynamic keyword in C#

This advanced firewall example comes from Special Guest Blogger John Mueller. John is a prolific author who’s written more than 86 books on all sorts of topics including operating systems, working with the command-line, Python, Visual Basic, and of course … Continue reading

Posted in internet, network, system | Tagged , , , , , , , , , , , , | 2 Comments