Monday, July 22, 2013

Get Country Name From Ip


1) Right Click on Project Solution 
 





 
 
 
2) copy past this link in Address bar
http://ip.fecundtechno.com/GetCountryCode.svc?wsdl 
 
 














sad




 
 
Give Namspace name you want and Click OK 
 
now add Add namespace in c# file  
like using ServiceReference2

now

call service

GetCountryCodeClient client = new GetCountryCodeClient();
 
client.GetCountryName("<here give ip address>"); 
 
 
 

No comments:

Post a Comment

Opps Part 1 : Abstraction

  Abstraction in C# is a fundamental concept of object-oriented programming (OOP) that allows developers t...