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.
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.