keyongtech


  keyongtech > win32.programmer.* > win32.programmer.networks > 03/2007

 #1  
03-01-07, 10:16 PM
kkumler
I am using the IP Helper API to enumerate the adapters and information
for those adapters in my system.
>From there I can add and delete IP addresses, release and renew DHCP-

acquired addresses. If DHCP is not enabled on an adapter, through
what API can I enable/disable DHCP?
 #2  
03-04-07, 05:22 PM
Arkady Frenkel
Documented way is WMI's EnableDHCP() method of
Win32_NetworkAdapterConfiguration class
Arkady


<kkumler> wrote in message
news:2690
[..]
Similar Threads
Enable/Disable Network Adapter

Hi, How can I enable and disable a network adapter in eVC++? SetIFEntry is not good enough. It does not really disables it. Only the TCP. And by using GetInterfaceInfo or...

How do I enable DHCP on my network adapter?

When I check the status of my network adapter, it says that DHCP is not enabled. How do I enable it in Windows Vista Ultimate? I'm trying to enable it for ICS to/with a...

how to disable or enable an adapter?

Hello, I find this program : #include "stdafx.h" #include <tchar.h> #include <windows.h> #include <setupapi.h> #pragma comment (lib,"setupapi")

DHCP enable/disable?

What are the steps to disable DHCP? Where do I start, and what steps are involved? Thanks, Joe

enable/disable network adapter

I am looking for a way to quickly disable and enable network adapters from the command line. I'm pretty sure Netsh can do it but I haven't been able to find exactly how. ...


All times are GMT. The time now is 04:33 PM. | Privacy Policy