I am running a server, and I want to display my own IP address.
What is the syntax for getting the computer\'s own (if possible, external) IP address?
Someon
Maybe by external IP you can consider (if you are in a Web server context) using this
Request.ServerVariables["LOCAL_ADDR"];
I was asking the same question as you and I found it in this stackoverflow article.
It worked for me.