Interesting Links

A List of All The Top-Level Domains

Here is list of all the generic top-level domains (gTLDs) and country-code top-level domains (ccTLDs). A link to a CSV file containing the list is available at the end of the post. Read More ›

WinForms

Drag And Drop Files to a C# Application

The .NET Framework makes it easy to detect objects dragged and/or dropped into a Windows Forms application using one or more of the drag-and-drop events available. In these events you could check if the object Read More ›

ASP.NET

2 Ways to Redirect URLs in PHP

Sometimes you need to display an image that is not saved in a file. These could be dynamically generated or loaded from a file but were modified. To display them in an Image control you need to create another page that saves the image in its output stream. Read More ›

ASP.NET · Mono 2.0

Check If User Name Exists Using AJAX And C#

You could make sure the user name entered during the registration process of your website is unique before the submit button is clicked using AJAX and C#. To accomplish this create two aspx pages Read More ›

WinForms

Get the Available Network Connections Using WMI

Windows Management Instrumentation (WMI) makes querying Windows for system and devices information easy. And this is even easier with System.Management assembly. The code listed loads the names of the network connections in a ListBox, which Read More ›

WinForms · Mono 2.0

Simple Networking Tasks in C#

Developing applications in C# that access resource on the internet is easy. This post shows four useful functions: checking if the PC is connected to a network, domain name to IP address lookup, ping a Read More ›

WinForms

A Registry Viewer in C#

The Registry is a database in Windows that is available for application developers to use for storing small amounts of data. It is mostly used to save application setting like the window size and database Read More ›

WinForms

Displaying an XML File in a TreeView Control

XML's structure is hierarchical and therefore can be displayed in a TreeView control easily. The XMLTree program displays the elements of the XML file in a TreeView control and the attributes of the selected element Read More ›

ASP.NET · WinForms · Mono 2.0

A Wrapper Class For hostip.info's GeoLocation Service

GeoLocation refers to identifying a real-world geographic location of a computer, device or website visitor. There are a many websites that provide this service, some are free and some are not. A populare and free Read More ›

WinForms

An Open Source Website Screen Capture Program

A few weeks ago I posted Taking Thumbnails of a Website, that shows how to take a screen shot of a website using the Web Browser control. I used the code from the post to Read More ›