Jump to content

Manage Network Connections with COM Objects


Recommended Posts

Posted (edited)

Hi all, I'm here because I want to manage network connections under Windows XP with some COM.

With a WQL query on Win32_NetworkConnection class I can get all informations regarding network connections, but this is not enough while I need some method to manage them (that class does not provide any method).

I'm looking for something that let me manage nerwork connections in a straight simply way, where I can start and stop them, retrive IPs and something more: can you help me?

Edited by Slam

Posted

Some people bash Vista, but it's also all these little things I love: Vista does add support to enable & disable NICs using the Win32_NetworkAdapter WMI class :) There's so many of those enhancements all-around it's not even funny (MANY of them pertaining to WMI).

On XP, your best bet is making use of a command line util to handle this for you (e.g. devcon), or writing your own if you really feel like it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...