How can i determine windows is now using dynamic mac adress in my own app

yangming duan 21 Reputation points
2020-09-02T08:15:46.297+00:00

I'm developing an APP which binding to the computer's MAC address, and i use the MAC address to identity the computer my APP runs on, when work on windows 10 with dynamic MAC address setting, my APP can't work correctly.
Is there any one could tell me, how to determine the computer my APP runs on is now using dynamic MAC address in my program, in addition how could i turn off it in my program (not via windows 10's WLAN setting)

many thanks!

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,675 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ian Xue 37,536 Reputation points Microsoft Vendor
    2020-09-03T06:10:59.667+00:00

    Hi,
    You may go through the registry. The network adapter configurations are in subkeys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4D36E972-E325-11CE-BFC1-08002BE10318}
    and the MAC address is configured in value "NetworkAddress".

    You could refer to this link
    https://social.technet.microsoft.com/Forums/exchange/en-US/d4d8e555-3aa4-487b-aa1b-524c3fe1ae57/how-do-i-set-the-quotrandom-hardware-addressesquot-setting-in-wifi-settings-via-gpo?forum=win10itpronetworking

    Best Regards,
    Ian


    Please remember to "Accept Answer" and upvote if the reply is helpful.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.