Позвольте мне привести пример того, что у меня есть прямо сейчас.
Код: Выделить всё
WebClient wc = new WebClient();
string results = wc.DownloadString("http://ip-api.com/line/?fields=status,message,continent,continentCode,country,countryCode,region,regionName,city,district,zip,lat,lon,timezone,offset,currency,isp,org,as,asname,reverse,mobile,proxy,hosting,query");
textBox1.Text = results;
Код: Выделить всё
successNorth AmericaNAUnited StatesUScensoredForPrivacy
Код: Выделить всё
success
North America
NA
United States
US
CensoredForPrivacy
Подробнее здесь: https://stackoverflow.com/questions/712 ... in-c-sharp
Мобильная версия