![]() |
VOOZH | about |
dotnet add package Nager.Country --version 4.7.1
NuGet\Install-Package Nager.Country -Version 4.7.1
<PackageReference Include="Nager.Country" Version="4.7.1" />
<PackageVersion Include="Nager.Country" Version="4.7.1" />Directory.Packages.props
<PackageReference Include="Nager.Country" />Project file
paket add Nager.Country --version 4.7.1
#r "nuget: Nager.Country, 4.7.1"
#:package Nager.Country@4.7.1
#addin nuget:?package=Nager.Country&version=4.7.1Install as a Cake Addin
#tool nuget:?package=Nager.Country&version=4.7.1Install as a Cake Tool
Nager.Country provides a comprehensive dataset of worldwide country information, designed for developers who need reliable and structured country-related data.
The dataset includes 250 countries and territories with detailed information such as:
Nager.Country.TranslationIf you need the translations of the countries you will find in the further nuget package Nager.Country.Translation
ICountryProvider countryProvider = new CountryProvider();
var countryInfo = countryProvider.GetCountry("de");
//countryInfo.CommonName -> Germany
//countryInfo.Alpha3Code -> DEU
//countryInfo.NumericCode -> 276
//countryInfo.Region -> Europe
//countryInfo.SubRegion -> WesternEurope
//countryInfo...
ICountryProvider countryProvider = new CountryProvider();
var countryInfo = countryProvider.GetCountry(Alpha2Code.DE);
//countryInfo.CommonName -> Germany
//countryInfo.Alpha3Code -> DEU
//countryInfo.NumericCode -> 276
//countryInfo.Region -> Europe
//countryInfo.SubRegion -> WesternEurope
//countryInfo...
ICountryProvider countryProvider = new CountryProvider();
var countryInfo = countryProvider.GetCountryByName("Germany");
//countryInfo.Alpha2Code -> DE
//countryInfo.Alpha3Code -> DEU
//countryInfo.NumericCode -> 276
//countryInfo.Region -> Europe
//countryInfo.SubRegion -> WesternEurope
//countryInfo..
Retrieve a full list of all 250 countries and territories.
var countryProvider = new CountryProvider();
var countries = countryProvider.GetCountries();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 is compatible. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Nager.Country:
| Package | Downloads |
|---|---|
|
VirtoCommerce.Platform.Data
Virto Commerce is a flexible B2B ecommerce solution that offers powerful tools for enterprise business users. https://virtocommerce.com |
|
|
Nager.Country.Translation
Get country translations and language translations for Nager.Country |
|
|
VpnHood.AppLib.App
Readymade Vpn App skeleton for VpnHood clients. You just need to create an UI on it |
|
|
VirtoCommerce.CustomerExportImportModule.Core
Package Description |
|
|
UNLowCoder.Extensions
Extension methods for the UNECE UN/Locodes |
Showing the top 4 popular GitHub repositories that depend on Nager.Country:
| Repository | Stars |
|---|---|
|
vpnhood/VpnHood
Undetectable, Fast, Cross-Platform, Free VPN
|
|
|
VirtoCommerce/vc-platform
Virto Commerce B2B Innovation Platform
|
|
|
TabBlazor/TabBlazor
Blazor admin template based on Tabler UI
|
|
|
ComPDFKit/compdfkit-pdf-sdk-windows
High-performance PDF library for Windows desktop apps. Integrate PDF viewing, editing, annotations, form filling, digital signatures, redaction, and document conversion into your .NET and C# applications with ease.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.7.1 | 6,872 | 6/8/2026 |
| 4.7.0 | 535 | 6/8/2026 |
| 4.6.1 | 50,697 | 5/4/2026 |
| 4.6.0 | 444 | 5/4/2026 |
| 4.5.0 | 13,200 | 4/21/2026 |
| 4.4.0 | 162,249 | 2/11/2026 |
| 4.3.5 | 147,575 | 1/10/2026 |
| 4.3.4 | 239,944 | 10/13/2025 |
| 4.3.3 | 176,885 | 9/4/2025 |
| 4.3.2 | 932 | 9/4/2025 |
| 4.3.1 | 1,031 | 9/4/2025 |
| 4.3.0 | 8,651 | 8/28/2025 |
| 4.2.0 | 94,600 | 7/7/2025 |
| 4.1.0 | 124,046 | 6/4/2025 |
| 4.0.1 | 41,684 | 5/21/2025 |
| 4.0.0 | 2,743,126 | 4/11/2023 |
| 3.1.1 | 1,712,519 | 9/30/2021 |
| 3.1.0 | 39,324 | 7/20/2021 |
| 3.0.3 | 8,354 | 7/14/2021 |