IP2Region 1.0.0
.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
Install-Package IP2Region -Version 1.0.0
dotnet add package IP2Region --version 1.0.0
<PackageReference Include="IP2Region" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IP2Region --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IP2Region, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install IP2Region as a Cake Addin
#addin nuget:?package=IP2Region&version=1.0.0
// Install IP2Region as a Cake Tool
#tool nuget:?package=IP2Region&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
//The file of ip2region.db in https://github.com/lionsoul2014/ip2region you can find in data file.
DbSearcher dbSearcher = new DbSearcher(new DbConfig
{ }, AppContext.BaseDirectory + @"/DBFile/ip2region.db");
var result = dbSearcher.BtreeSearch(ipAddress);
Console.WriteLine("[btree]你的IP所属区域为:" + result.GetRegion());
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages (6)
Showing the top 5 NuGet packages that depend on IP2Region:
Package | Downloads |
---|---|
Colorful.CMS.Core
Package Description |
|
FESP.CorePack
基础类库应用 |
|
OhThink.Extensions
OHThink扩展模块 |
|
Sbp
此类库是基于.net standard 2.1封装的一系列常用编程模式和实用程序的核心组件,致力于促进coding效率与规范。 |
|
Xwltz.Net
基于net5的全新类库 |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on IP2Region:
Repository | Stars |
---|---|
Meowv/Blog
🤣本项目有不同开发版本,最新版底层基于 abp vNext 搭建和免费开源跨平台框架 .NET5 进行开发,使用 MongoDB 存储数据,Redis 缓存数据。项目采用前后端分离的模式进行开发,API 遵循 RESTful 接口规范,页面使用 Blazor 进行开发,可作为 .NET Core 入门项目进行学习。If you liked `Blog` project or if it helped you, please give a star ⭐️ for this repository. 👍👍👍
|
|
ldqk/Masuit.MyBlogs
基于C#/.NET6的 masuit.org个人博客站项目源码,https://masuit.org ,供参考、学习、引用、非商业性质的部署。
|
|
qwqdanchun/DcRat
A simple remote tool in C#.
|
|
xianhc/apevolo-api
.Net 6.0 、SqlSugar、Vue、RBAC、前后端分离的开箱即用的企业级中后台权限管理系统
|
ip2region - 最自由的ip地址查询库,ip到地区的映射库,提供Binary,B树和纯内存三种查询算法,妈妈再也不用担心我的ip地址定位。