i'm looking for a way to enable or disable dhcp on a network interface via win32 api. actually i solve this by using wmi but i would like to do this via win32 api because i would like to workaround corrupted wmi's.
i found a thread where they do this via registry api: On enabling Network adpater, Autoconfiguration IP address getting set but is this the only way to achieve?
cheers, ceth
netsh.exean option?