Hallo.
Und zwar geht es um folgenden Code:
Ich erhalte jedes Mal:
Habe auch schon:
probiert, doch gleicher Fehler.
Weiß jemand, warum?
Und zwar geht es um folgenden Code:
VB.NET-Quellcode
- Private Function GetIp() As Dataa
- Using Wc As New WebClient
- Try
- Dim T As String = Wc.DownloadString(New Uri("http://www.wieistmeineip.de/"))
- T = Regex.Match(T, "lautet:.+\s+[^\d]+([^<]+)").Groups(1).Value
- Return New Dataa("IP Address", "-", T, "-")
- Catch ex As Exception
- Throw New Exception(ex.StackTrace)
- End Try
- End Using
- End Function
Ich erhalte jedes Mal:
Habe auch schon:
probiert, doch gleicher Fehler.
Weiß jemand, warum?