FiftyOne.IpIntelligence.Translation 4.5.155

Prefix Reserved
dotnet add package FiftyOne.IpIntelligence.Translation --version 4.5.155
                    
NuGet\Install-Package FiftyOne.IpIntelligence.Translation -Version 4.5.155
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FiftyOne.IpIntelligence.Translation" Version="4.5.155" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FiftyOne.IpIntelligence.Translation" Version="4.5.155" />
                    
Directory.Packages.props
<PackageReference Include="FiftyOne.IpIntelligence.Translation" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FiftyOne.IpIntelligence.Translation --version 4.5.155
                    
#r "nuget: FiftyOne.IpIntelligence.Translation, 4.5.155"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FiftyOne.IpIntelligence.Translation@4.5.155
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FiftyOne.IpIntelligence.Translation&version=4.5.155
                    
Install as a Cake Addin
#tool nuget:?package=FiftyOne.IpIntelligence.Translation&version=4.5.155
                    
Install as a Cake Tool

51Degrees IP Intelligence Engines

51Degrees Pipeline API

Developer Documentation

Introduction

This repository contains the IP intelligence engines for the .NET implementation of the Pipeline API.

The specification is also available on GitHub and is recommended reading if you wish to understand the concepts and design of this API.

Dependencies

Visual Studio 2019 or later is recommended. Although Visual Studio Code can be used for working with most of the projects.

The core IP intelligence projects are written in C and C++. The Pipeline engines are written in C# and target .NET Standard 2.0. Example and test projects mostly target .NET 8.0 though in some cases, projects are available targeting other frameworks.

For runtime dependencies, see our dependencies page. The ci/options.json file lists the tested and packaged .NET versions and operating systems automatic tests are performed with. The solution will likely operate with other versions.

Data

The API does detections using a local (on-premise) data file or cloud service (coming soon).

On-Premise

In order to perform IP intelligence on-premise, you will need to use a data file.

The scripts in the data repository, which is the cxx/data submodule, download the free 'Lite' data file, for example with pwsh cxx/data/get-data-files.ps1 51Degrees-LiteV41.ipi from the repository root. Otherwise contact us to obtain an 'Enterprise' data file.

Tests that need a data file locate it in the following order:

  1. The "_51DEGREES_IPI_PATH" environment variable, which can be set to an explicit path to the data file. The legacy "IPINTELLIGENCEDATAFILE" environment variable is also still supported, and is checked after "_51DEGREES_IPI_PATH".
  2. A search of the folder hierarchy, walking up from the working directory, for the expected data file name.
  3. The free 'Lite' data file in its expected location, which is cxx/data/ip-intelligence.
Cloud (coming soon)

You will require resource keys to use the Cloud API, as described on our website. Get resource keys from our configurator, see our documentation on how to use this.

The cloud property tiers changed in May 2026. Of the IP intelligence properties the examples display, the free tier includes only Country, LocationConfidence, Ip and IpV6, with a paid subscription needed for the rest, such as CountryCode, Region, Town, RegisteredName, Latitude and Longitude. A resource key selecting only the free tier properties can be created here, whilst this configuration also includes the paid properties used by the examples. See our pricing page to get a paid subscription with more properties.

Examples and tests read the resource key from an environment variable called "_51DEGREES_RESOURCE_KEY". The legacy environment variable names "51D_RESOURCE_KEY" and "SUPER_RESOURCE_KEY" are still supported, with the aligned "_51DEGREES_RESOURCE_KEY" name checked first.

Solutions and projects

  • FiftyOne.IpIntelligence - Ip intelligence engines and related projects.
    • FiftyOne.IpIntelligence.Engine.OnPremise - .NET implementation of the IP intelligence on-premise engine.
    • FiftyOne.IpIntelligence.Shared - Shared classes used by the IP intelligence engines.
    • FiftyOne.IpIntelligence - Contains IP intelligence engine builders.
    • FiftyOne.IpIntelligence.Cloud - A .NET engine which retrieves IP intelligence results by consuming the 51Degrees Cloud service. This can be swapped out with either the on-premise engine seamlessly.

Installation

Nuget

The easiest way to install is to use NuGet to add the reference to the package:

Install-Package FiftyOne.IpIntelligence

Build from Source

IP Intelligence on-premise uses a native binary (i.e. compiled from C code to target a specific platform/architecture). The NuGet package contains several binaries for common platforms. However, in some cases, you'll need to build the native binaries yourself for your target platform. This section explains how to do this.

Pre-requisites
  • Install C build tools:
    • Windows:
      • You will need either Visual Studio 2022 or the C++ Build Tools installed.
        • Minimum platform toolset version is v143
        • Minimum Windows SDK version is 10.0.18362.0
      • Linux/MacOS:
        • sudo apt-get install g++ make libatomic1
  • If you have not already done so, pull the git submodules that contain the native code:
    • git submodule update --init --recursive

Visual studio should now be able to build the native binaries as part of its normal build process.

Packaging

You can package a project into NuGet *.nupkg file by running a command like:

dotnet pack [Project] -o "[PackagesFolder]" /p:PackageVersion=0.0.0 -c [Configuration] /p:Platform=[Architecture]
⚠️ Notes on packaging FiftyOne.IpIntelligence.Engine.OnPremise

📝 Using AnyCPU might prevent the unmanaged (C++) code from being built into .Native.dll library. Use x64/arm64 specifically.

📝 If creating cross-platform package from multiple native dlls, put all 4x FiftyOne.IpIntelligence.Engine.OnPremise.Native.dll into respective folders:

../
    macos/
        arm64/
        x64/
    linux/
        x64/
    windows/
        x64/

and add to the packaging command:

/p:BuiltOnCI=true

related CI scripts:

  • BuiltOnCI var:
    • [https://github.com/51Degrees/common-ci/blob/main/dotnet/build-project-core.ps1]
    • [https://github.com/51Degrees/common-ci/blob/main/dotnet/build-package-nuget.ps1]
    • [https://github.com/51Degrees/common-ci/blob/main/dotnet/build-project-framework.ps1]
    • [https://github.com/51Degrees/51degrees-dotnet/blob/main/ci/run-performance-tests.ps1]
  • Copying native binaries:
    • [https://github.com/51Degrees/51degrees-dotnet/blob/main/ci/build-package.ps1]
Strong naming

We currently do not strong name assemblies due to downsides for developers. The main of which is that .NET Framework on Windows enables strict loading of assemblies once an assembly is strong named. A strong-named assembly reference must exactly match the version of the loaded assembly, forcing developers to configure binding redirects when using the assembly.

If it is absolutely critical for your use case to integrate a strong-named assembly - please create a feature request issue.

Examples

Examples can be found in ip-intelligence-dotnet-examples repository.

Tests

Tests can be found in the Tests/ folder. These can all be run from within Visual Studio or by using the dotnet test command line tool.

Some tests require additional resources to run. These will either fail or return an 'inconclusive' result if these resources are not provided.

  • Some tests require an 'Enterprise' data file. This can be obtained by purchasing a license.
  • Tests using the Cloud service require resource keys with specific properties. A license is required in order to access some properties.

Project documentation

For complete documentation on the Pipeline API and associated engines, see the 51Degrees documentation site.

Find out more

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on FiftyOne.IpIntelligence.Translation:

Package Downloads
FiftyOne.IpIntelligence.Cloud

IP Intelligence and IP geolocation for .NET and C#. Finds an IP address's likely location (country, region, town, and coordinates), connection type, and network, using the 51Degrees cloud service with a Resource Key. Network details include the Autonomous System Number (ASN). This package is the cloud engine for the 51Degrees Pipeline API, for IP Intelligence without running an on-premise engine. An alternative to MaxMind and IPinfo.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.5.155 0 11/4/2026
4.5.154 483 10/30/2026
4.5.153 215 10/29/2026
4.5.152 211 10/28/2026
4.5.151 168 10/26/2026
4.5.150 315 10/26/2026
4.5.149 206 10/23/2026
4.5.148 172 10/22/2026
4.5.147 173 10/21/2026
4.5.146 154 10/21/2026
4.5.145 466 10/16/2026
4.5.144 172 10/15/2026
4.5.143 167 10/14/2026
4.5.142 206 10/9/2026
4.5.141 320 10/3/2026
4.5.140 223 10/1/2026
4.5.139 177 10/1/2026
4.5.138 815 9/30/2026
4.5.137 224 9/25/2026
4.5.136 173 9/25/2026
Loading failed