C#.NET Helper to Get Client IP and Country

C#.NET Helper to Get Client IP and Country Created by celeru. This templates have specific characteristics, namely: This is a C # .NET service class for use in Web projects. It allows to know the public IP of the client, and to determine to which country it .

You can use this C#.NET Helper to Get Client IP and Country on Net category for c sharp, country, helper, ip, library, net and another uses.

C#.NET Helper to Get Client IP and Country
© Copyright by celeru

Main Features:

  • Video preview resolution: None
  • Software version: .NET 4.5
  • High resolution: No
  • Compatible browsers: IE8, IE9, IE10, IE11, Firefox, Safari, Opera, Chrome, Edge
  • Files included: C# CS

This is a C # .NET service class for use in Web projects. It allows to know the public IP of the client, and to determine to which country it belongs.

Config:Please add the following keys in the appSettings section (Web.Config)<add key=”GeoIPCountryWhoisData” value=”D:ProjectsLibraryGeoIpHelper” /> <add key=”RemoteUri” value=”http://geolite.maxmind.com/download/geoip/database/” />

Methods:GetIPAddress: It allows to know the public IP of the clientGetLand: Allows you to determine to which country a public IP belongsUpdateDataBase: Updates the IP data base