WifiManager.MacVendors
1.0.0
dotnet add package WifiManager.MacVendors --version 1.0.0
NuGet\Install-Package WifiManager.MacVendors -Version 1.0.0
<PackageReference Include="WifiManager.MacVendors" Version="1.0.0" />
<PackageVersion Include="WifiManager.MacVendors" Version="1.0.0" />
<PackageReference Include="WifiManager.MacVendors" />
paket add WifiManager.MacVendors --version 1.0.0
#r "nuget: WifiManager.MacVendors, 1.0.0"
#:package WifiManager.MacVendors@1.0.0
#addin nuget:?package=WifiManager.MacVendors&version=1.0.0
#tool nuget:?package=WifiManager.MacVendors&version=1.0.0
WifiManager.MacVendors
Names the manufacturer of a network adapter from its MAC address, offline, using the IEEE MA-L registry (about 40,000 prefixes).
- No dependencies. Targets .NET Standard 2.0, so it works on any .NET platform: .NET Framework 4.6.1+, .NET 5 to 10, .NET MAUI, WPF, WinForms, ASP.NET Core, Unity and Xamarin.
- Offline. The registry ships inside the package (337 KB); nothing is downloaded.
- Display-ready names. Legal suffixes, leading Chinese city names and all-caps styling are
removed, so
SHENZHEN TP-LINK TECHNOLOGIES CO.,LTDreads asTP-Link Technologies.
Install
dotnet add package WifiManager.MacVendors
Use
using WifiManager.MacVendors;
string? vendor = MacVendorRegistry.Lookup("3C:CD:57:73:6E:E2"); // "Xiaomi Mobile Software"
Every common MAC format works:
| Input | Result |
|---|---|
3C:CD:57:73:6E:E2 |
Xiaomi Mobile Software |
3c-cd-57-73-6e-e2 |
Xiaomi Mobile Software |
3ccd.5773.6ee2 |
Xiaomi Mobile Software |
3CCD57736EE2 |
Xiaomi Mobile Software |
02:1B:63:84:45:E6 |
null: a private (randomized) address, which no manufacturer owns |
00:1B:63 or not a mac |
null: not a 6-byte MAC address |
MacVendorRegistry.Count gives the number of prefixes in the registry.
Notes
- First lookup. The registry is read on the first lookup, in tens of milliseconds, on whichever
thread asks first. In a UI app, make that first call off the UI thread, e.g.
await Task.Run(() => MacVendorRegistry.Lookup(mac)). Later lookups are a dictionary read and safe from any thread. - Private addresses. Phones and laptops often use a randomized MAC per network. These have the
"locally administered" bit set and always return
null. - Coverage. The registry is IEEE's MA-L (large block) list, which covers the vast majority of consumer devices. The smaller MA-M and MA-S blocks are not included.
With WifiManager.Maui
WifiManager.Maui does not bundle the registry, to
stay small. Plug this package in once at startup to fill its MacVendor.Lookup and the Vendor
properties of LanDeviceDetails and HotspotClient:
using MauiWifiManager.Abstractions; // MacVendor
using WifiManager.MacVendors; // MacVendorRegistry
MacVendor.SetLookup(MacVendorRegistry.Lookup);
Updating the registry
The data comes from IEEE's public registry. Maintainers refresh it with:
python tools/update_oui.py
then release a new version of this package. Tags ending in -MacVendors, e.g. 1.0.1-MacVendors,
publish this package only.
License
MIT. The registry data is published by the IEEE Registration Authority.
| Product | Versions 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. |
-
.NETStandard 2.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 |
|---|---|---|
| 1.0.0 | 146 | 10/24/2026 |