Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing text from a webpage
Message
From
07/05/2007 09:58:27
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Parsing text from a webpage
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01223022
Message ID:
01223022
Views:
66
I think I am trying too hard, but I just can't figure this out and am hoping somebody can point me in the right direction.

I am trying to obtain the ip address displayed on http://whatismyip.org/ into my application. I found this snippet on the internet:
Dim value As String
Dim webClient As New System.Net.WebClient

value = New System.Text.UTF8Encoding().GetString(webClient.DownloadData("http://whatismyip.org/"))
but I am getting an error. Is there an easier way to do this? There is no HTML - the source is just the ip address.
Very fitting: http://xkcd.com/386/
Next
Reply
Map
View

Click here to load this message in the networking platform