Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to detect the speed of the network card in XP

Status
Not open for further replies.

Bachatero

Programmer
Aug 30, 2006
36
NL
Is it posible to detect the speed of a network card in VBS.

e.g., is the speed of the network card set to auto, 100BM/full, etc.

I tried to find it in the windows register, but I did not find something.

Is this anayway posible with VBS.

Thanks in advance,

Johan
 
yeap Geates, it can be a right pain. you also throw into the mix companies like HP writing their own drivers to other vendors cards and its happy times for all.
i cant recall exactly but at one point i considered reading the contents of the driver files to determine what where the valid values and for the speeds, then you dont need to maintain a static list yourself, e.g. inf file contents

[ParamsC]
HKR, Ndi\Params\RequestedMediaType, ParamDesc, , %Speed_Duplex%
HKR, Ndi\Params\RequestedMediaType, default, , "0"
HKR, Ndi\Params\RequestedMediaType, type, , "enum"
HKR, Ndi\Params\RequestedMediaType\enum, 0, , %Speed_Duplex_Auto%
HKR, Ndi\Params\RequestedMediaType\enum, 3, , %Speed_Duplex_10Mb_Hd%
HKR, Ndi\Params\RequestedMediaType\enum, 4, , %Speed_Duplex_10Mb_Fd%
HKR, Ndi\Params\RequestedMediaType\enum, 5, , %Speed_Duplex_100Mb_Hd%
HKR, Ndi\Params\RequestedMediaType\enum, 6, , %Speed_Duplex_100Mb_Fd%
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top