Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacAddress changes #75

Open
AlexHolly opened this issue Oct 12, 2023 · 1 comment
Open

MacAddress changes #75

AlexHolly opened this issue Oct 12, 2023 · 1 comment

Comments

@AlexHolly
Copy link

Related: #67
version: 6.4.0

I encountered an issue with AddMacAddress and setting the excludeWireless is not helping.

After installing Windows Updates the deviceId changed so I investigated a little bit.

The resulting devideId is changing in case of:

  1. Windows Update (driver updates?)
  2. Enable/Disable Bluetooth also changes the results even with excludeWireless: true

Is there a way to improve it so it will use the Mainboard NetworkAdapter or first LanAdapter found and return the Physical Address always?

@MatthewKing
Copy link
Owner

Yep, this is definitely possible, and it's something I'd like to do in the future - the MAC address component(s) have a few problems with edge cases. However, I'm reluctant to make the changes in v6 because that will break backwards compatibility with any existing device identifiers. Maybe in version 7...

Until then, it's really easy to create your own custom version of the MAC address component and add it to your project.. You can just copy+paste the existing MacAddressDeviceIdComponent (or the WMI/MMI alternatives) into your project, make the changes you want, and then add it to your DeviceIdBuilder via AddComponent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants