i need my client ip from whatismyip.com. But Regex pattern is not correct i think? Can you help me this patttern?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Generic Generics in Managed C++
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
Try to use
http://www.whatismyip.org/
It's much simpler.
Or you want to parse information exactly whatismyip.com?
This is how you get the ip in ASP.NET C#
Have you read the comment in the obtained HTML:
So this should get you going:
Do it like this instead:
This can be achieved way easier using the automation interface from www.whatismyip.com, so there's no need for any regex: