FSOFT-SA
asked on
Use Win API to set EnableDHCP flag
Dear expert,
I need to use Win APIs to set value for EnableDHCP flag.
But it seems I can not find the API to do this.
So, is there any API for doing this? Please help me to find this.
Note: until now, I can use Win API to set value for IPAddress , DefaultGateway and SubnetMask.
Regards.
I need to use Win APIs to set value for EnableDHCP flag.
But it seems I can not find the API to do this.
So, is there any API for doing this? Please help me to find this.
Note: until now, I can use Win API to set value for IPAddress , DefaultGateway and SubnetMask.
Regards.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
HKEY_LOCAL_MACHINE\SYSTEM\
where xxxxxxxx-yyyy-zzzz-aaaa-bb
you find the GUID below
HKEY_LOCAL_MACHINE\SYSTEM\
note, the GUID would not change as long as you don't add/remove network adapters or their connections.
Sara