Take a look at the wininet API. There are similar API functions for your .NET versions.

http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx