Get The IP Address of a Host Name

Category:
Network/Internet
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic.NET

More information:
Use this function to retrieve the IP address(es) of a given host name.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: