August 31, 2002

Resolve an internet host address

The System.Net.Dns class exposes a few static methods that let you resolve an internet domain name – such as – into a 4-part numeric IP address, also known as

A cheap way to display files and hex data

The .NET framework includes a ByteViewer control, that you can use on your own forms to display data stored in a Byte array or in a file. The ByteViewer control

Right-align formatted strings

The String.Format function supports many formatting options, but none allows you to display right-aligned columns of numbers, as in: 1.00 12.00 123.00 1,234.00 However, you can easily create a helper