Tried with the IP, but I don't know if it will change. Either if the host name can change as well, i don't know. It needs to be something static.
Using nslookup site.com
in cmd, it shows one IP xxxx
. But inside C# App the following code below display YYYY
Dns.GetHostEntry(Dns.GetHostName()).AddressList[1].ToString()
If I guess, one is the outbound IP, and the other the inbound one.
It's necessary for a database connection between test and production.
What can I do to achieve this objective?