4

I want to retrieve the country telephone code using ASP.NET C#... I've searched at google and the MSDN website but what I've found was the way how to retrieve the ISO Country Code..

Kara
  • 6,115
  • 16
  • 50
  • 57
Roberto Becher
  • 164
  • 2
  • 4
  • 11

1 Answers1

5

There isn't anything built in.
You can use some web service to aquire this information, such as this one: http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso

Svarog
  • 2,188
  • 15
  • 21
  • It would have been nice if you also have shown how to call this webservice from code. – Tim Schmelter Oct 27 '11 at 08:47
  • 1
    Tim - Add http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL as a service reference, and than use it as though it was an ordinary DLL reference. – Svarog Oct 27 '11 at 08:54