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

📱Build WhatsApp Bot using .NET + OpenAI

   In this article, you will learn how to build a real-world WhatsApp chatbot using ASP.NET Core and OpenAI. This bot can automatically repl...