Binding TCP/IP to my network adapter using WMI or Win API

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I can find out if TCP/IP is bound and enabled on a network adapter using the
IPEnabled property of the Win32_NetworkAdapterConfiguration WMI object. In
case it is not enabled, how can I bind TCP/IP to my network adapter and/or
enable it using WMI or a WinAPI call?

I would also like to find out if "File and printer Sharing for Microsoft
Networks" is enabled using WMI, and if possible enable it if it is not. Any
ideas on that.

I am programming in Delphi for the Windows XP platform.

Thank you very much in advance!
Thomas Blomvist
 
Back
Top