I am trying to get the speed and duplex from the nic(s) on multiple NT4 machines.
I can get some info out of the registry, but the NT4 registry has proven to be far from complete concerning this.
I would suggest two classes in WMI. Win32_NetworkAdapter and Win32_NetworkAdapterConfiguration.
[blue]"Well, once again my friend, we find that science is a two headed beast. One head is nice, it gives us aspirin and other modern conveniences,...but the other head of science is BAD! Oh, beware the other head of science, Arthur; it bites!!" - The Tick[/blue]
How about:
Win32_PerfRawData_PerfNet_Browser
Win32_PerfRawData_PerfNet_Redirector
Win32_PerfRawData_PerfNet_Server
Win32_PerfRawData_PerfNet_ServerWorkQueues
[blue]"Well, once again my friend, we find that science is a two headed beast. One head is nice, it gives us aspirin and other modern conveniences,...but the other head of science is BAD! Oh, beware the other head of science, Arthur; it bites!!" - The Tick[/blue]
That would do the trick for monitoring performance (actual speed).
But I am trying to get the "set values", as they appear in the NIC settings.
My problem is that the values are in the registry, but unlike w2k, there are no enum's to get corresponding values. I think these values are in the NIC software itself.
That would result in "guessing" that for speed value &H00064 would be 100Mbit and 2 in duplex for full.
PS: This is not the case for Intel network cards, they do have the enum's
Well then I know enough to admit when I am stumped. Sorry I couldn't help. If you find the answer somewhere else, please post it here for the greater edification of the community.
[blue]"Well, once again my friend, we find that science is a two headed beast. One head is nice, it gives us aspirin and other modern conveniences,...but the other head of science is BAD! Oh, beware the other head of science, Arthur; it bites!!" - The Tick[/blue]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.