Networking Forums

Networking Forums > Computer Networking > Windows Networking > PerfStats\StatData ConnectSpeed?

Reply
Thread Tools Display Modes

PerfStats\StatData ConnectSpeed?

 
 
SBC Global News
Guest
Posts: n/a

 
      07-09-2004, 12:02 AM
For Win95/98/ME, concerning the registry key:
HKEY_DYN_DATA\PerfStats\StatData: Dial-Up Adapter\ConnectSpeed

I've also seen "Dial-Up Adapter #2" which I believe has to do with VPN.

Is the keyname portion "Dial-Up Adapter" the only one I need to look at if I
want to programatically get the ConnectSpeed, no matter
how many modems are connected? I've seen that this is the only stats that
are updated no matter which modem I use.

Also, I saw methods for drilling down to this key programatically to get the
ConnectSpeed and I get the impression that this could be
locale dependant. The method I've seen is:

1. Start with HKLM\System\CurrentControlSet\Services\Class\Net\0 000 and walk
that tree until you find an adapter with AdapterName ==
'MS$PPP'
2. Use the DriverDesc value from that adapter (usually 'Dial-Up Adapter') to
find the name for the PerfStats\StatData key name.

Last question, I've seen
HKLM\System\CurrentControlSet\Services\Class\Net\0 00n DriverDesc=='DFÜ-
Adapter' (in German). See the image
at: http://www.bis0uhr.de/tuning/dfue/slownet.gif
Is it possible that HKEY_DYN_DATA\PerfStats\StatData will have a key DFÜ-
Adapter\ConnectSpeed (locale dependent) that I should use
instead of looking for a hardcoded 'Dial-Up Adapter' string? Or can I just
hardcode this to the string 'Dial-Up Adapter' and be done
with it? Thanks all.

Barnaby. . .


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11