I know there is a response with a guaranteed sucess using C++, however I
think you can do this with VB script, VB.Net & C#
There is a technology called WMI that allows you to interrogate the system.
One of the interrogations is "Win32_ProtocolBinding", which according to the
help screens
(
http://msdn.microsoft.com/library/de...nnection.asp):
The Win32_ProtocolBinding class has the following properties.
Antecedent
Data type: Win32_NetworkProtocol
Access type: Read-only
Qualifiers: Key
Reference to the instance representing the protocol that is used with the
system driver and on the network adapter.
Dependent
Data type: Win32_SystemDriver
Access type: Read-only
Reference to the instance representing the system driver that uses the
network adapter through the network protocol of this class.
Device
Data type: Win32_NetworkAdapter
Access type: Read-only
Qualifiers: Key
Properties of the network adapter being used on the computer system.
"Peter Schmitz" <Pe**********@discussions.microsoft.com> wrote in message
news:E4**********************************@microsof t.com...
Hi,
how can I programmatically (in any .net language) receive a list of all
network drivers bound to a network adapter?
(I need to check if some specific driver is bound to the adapter - and
then
possibly (de)activate this one).
is this possible?
Thanks
Peter