Thelocator 3.0.2.1

dotnet add package Thelocator --version 3.0.2.1
NuGet\Install-Package Thelocator -Version 3.0.2.1
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="Thelocator" Version="3.0.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Thelocator --version 3.0.2.1
#r "nuget: Thelocator, 3.0.2.1"
#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.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last updated
3.0.2.1 83 4/1/2024
3.0.2 154 4/27/2023
3.0.1 127 4/26/2023
3.0.0 141 4/25/2023
2.0.0.2 205 4/3/2023
2.0.0.1 193 4/1/2023
2.0.0 167 4/1/2023
1.0.0 276 3/24/2022