IRI.Maptor.Infrastructure.WindowsBase 3.0.0

dotnet add package IRI.Maptor.Infrastructure.WindowsBase --version 3.0.0
                    
NuGet\Install-Package IRI.Maptor.Infrastructure.WindowsBase -Version 3.0.0
                    
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="IRI.Maptor.Infrastructure.WindowsBase" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IRI.Maptor.Infrastructure.WindowsBase" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="IRI.Maptor.Infrastructure.WindowsBase" />
                    
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 IRI.Maptor.Infrastructure.WindowsBase --version 3.0.0
                    
#r "nuget: IRI.Maptor.Infrastructure.WindowsBase, 3.0.0"
                    
#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 IRI.Maptor.Infrastructure.WindowsBase@3.0.0
                    
#: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=IRI.Maptor.Infrastructure.WindowsBase&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=IRI.Maptor.Infrastructure.WindowsBase&version=3.0.0
                    
Install as a Cake Tool

IRI.Maptor.Infrastructure.WindowsBase

NuGet Target

Windows-specific helpers used by the Maptor desktop applications — hardware information queries, Wi-Fi-based geolocation via the Google Maps Geolocation API, and a bundled managed wrapper around the Windows Native Wi-Fi API.

Installation

dotnet add package IRI.Maptor.Infrastructure.WindowsBase

Requires Windows — depends on the Windows Native Wi-Fi API and WMI.

Features

  • HardwareHelper — WMI-based hardware information: processor id, HDD serial number, MAC address, mainboard and BIOS details, physical memory, CPU clock speed, default IP gateway
  • GoogleMapsGeolocationService — geolocate the device with the Google Maps Geolocation API, using nearby Wi-Fi access points scanned via the bundled ManagedNativeWifi wrapper (or a caller-supplied access-point list)
  • ManagedNativeWifi (bundled third-party component) — managed wrapper around the Windows Native Wi-Fi API for enumerating interfaces, networks, and BSS entries

Usage

using IRI.Maptor.Infrastructure.WindowsBase.Services.Google;

// hardware identifiers (WMI)
string mac = HardwareHelper.GetMACAddress();
string cpuId = HardwareHelper.GetProcessorId();

// Wi-Fi based geolocation (scans nearby access points automatically)
var response = await GoogleMapsGeolocationService.GetLocationAsync(googleApiKey);

Dependencies

  • ManagedNativeWifi is vendored under ThirdPartyLibraries/ and ships inside this package; no separate NuGet dependency is required.
  • GoogleMapsGeolocationService requires a Google Maps Geolocation API key.

NuGet package · Report issues · Back to IRI.Maptor.Infrastructure

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.0 84 8/23/2026
3.0.0-alpha 83 8/22/2026