Thelocator 3.0.2.1
dotnet add package Thelocator --version 3.0.2.1
NuGet\Install-Package Thelocator -Version 3.0.2.1
<PackageReference Include="Thelocator" Version="3.0.2.1" />
paket add Thelocator --version 3.0.2.1
#r "nuget: Thelocator, 3.0.2.1"
// Install Thelocator as a Cake Addin
#addin nuget:?package=Thelocator&version=3.0.2.1
// Install Thelocator as a Cake Tool
#tool nuget:?package=Thelocator&version=3.0.2.1
The Locator Library
This library provides you with location depending on ur IP, u can either get user IP or use their Ip to get their location (country)
How to use
Methods
GetLocation
This method returns an object that contains the country the ip is associated to together with details concerning their currency. This method is parameterless, it's determines ur ip address.
GetIp
This method returns your ip address in IPV4
GetLocationWithIp
This method returns an object that contains the country the ip is associated to together with details concerning their currency. This method takes the ip supplied as a parameter
GetAllCountries
This method returns a list of an object that contains country and their respective currency with their 2 digit Country Code. This method takes no parameter
GetCities
This method returns a list of an object that contains city and their details associated with a country. This method takes Country code from get all country as a parameter
GetOneCountry
This method returns an object that contains country and their respective currency with their 2 digit Country Code. This method takes Country code from get all country as a parameter
GetOneCurrency
This method returns an object that contains details of a currency code. This method takes Currency code from get all country as a parameter
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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. |
-
net5.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.