Click here to Skip to main content
15,117,318 members

Articles by nlarson11 (Tip/Trick: 1)

Tip/Trick: 1

RSS Feed

Average article rating:

No articles have been posted.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 5.00

Programming Languages
Visual Basic
Posted: 22 Sep 2011   Updated: 22 Sep 2011   Views: 8,220   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
On Vista/Win 7, I have seen code where only a single period is returned for (0). This makes sure you get the actual IP regardless of the system.Const IPPattern As String = "^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$"With Dns.GetHostEntry(System.Environment.MachineName) Return...

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.

Architect GBIS
United States United States
No Biography provided