1
Answer

how to get dynamic ip of router in c#

x _sanctus

x _sanctus

19y
4k
1
Please help, i want to create application running on server. This application get dynamic ip from router connected to server. How can i get the dynamic ip? I have founded that there are many example like trace route program but all of them in c++ and in dont know how to convert it into c# program.
Answers (1)
0
Roei Bar

Roei Bar

NA 7.8k 0 15y

a few Questions?
is the client application code open for you to modify, if so i would recommend that on the Init of the WS Object you would put a try catch section and if you go to catch, write the Error Message to log.
about things you need to check, i would try first not to use DNS name but the computer IP, second thing is Firewall clients blocking access to the URL, maybe a proxy on the client...
if you provide some more information i might be able to help you some more