System.Net.NetworkInformation - Missing Interfaces

Hi all,

I am trying to get Dial-up Modem information from the System.Net.NetworkInformation namespace. It does not seem to have Dial-up or 1394 network information.

Can anyone enlighten me on how to get standard Modem statistics i.e. bytes sent / sec using the Framework?

Regards,

Grant.

[337 byte] By [GrantCarthew] at [2007-12-16]
# 1

Hi All,
I have found the answer to the above query and will place here for future reference.

If you are using the System.Net.NetworkInformation namespace, specifically the NetworkInterface, you will find that interface information will not appear until the connection is actually made.

For example, if you want to find out bytes sent and received by a modem, you need to dial-up the connection first before you even see the modem as an interface. Just having the modem icon in your "Network Connections" will not show the modem as an interface.

Hope this helps someone sometime.

Regards,

Grant.

GrantCarthew at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic General...