For example, to get the local IP address, I use:
string myHost = System.Net.Dns.GetHostName(); string myIP = System.Net.Dns.GetHostEntry(myHost).AddressList[0].ToString();
here is a link that might help. http://www.dreamincode.net/forums/topic/24692-showing-the-external-ip-address-in-c%23/
There's a good article on how to do webrequest for WhatIsMyIP.com
Source: https://habr.com/ru/post/1308589/More articles:llvm bindings in lua? - luaTrying to complete a task after every 1 minute, but doesnβt work? - oracleHow to access html request parameters for a .rhtml page served by webrick? - ruby ββ| fooobar.comhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1308587/mvvm-light-is-too-fast&usg=ALkJrhgMJewpXMVvGR13BxWkHdAyuNTNpAStructuring app views for iPhone / iPad - design-patternsWhat makes the availability of both primitive and object oriented values ββin JavaScript useful? - javascriptInfinite gtk warnings when I right click on an icon - cIn Lua, how do I pass vararg to another function and also look at them? - luaJava char literal for C # char literal - javaJava: a friendlier way to get an instance of FontMetrics - javaAll Articles