TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Devendra Kumar
NA
517
243k
find country name from ip address using c#
Sep 29 2018 1:36 AM
i want to getiing country name from ip address :
my code is :
string ip = Request.UserHostAddress;
GeoService.GeoIPService service = new GeoService.GeoIPService();
GeoService.GeoIP output = service.GetGeoIP(ip);
string country = output.CountryName;
but getting error
Reply
Answers (
2
)
How to consume a web service dynamically with .NET Core?
Access to AspNetUsers table from outside AccountController