With multiple ethernet adapters programmatically find current one
On multiple-adapter Win NT 4.0 machines, is there a key that denotes which
of the listed adapters is the one currently being used?
There are several numbers under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\NetworkCards\, and they are not all NIC cards.
I have no way of knowing which one to use (programmatically).
FYI: I have a program that is currently hard-coded with the name of our NIC
card ("RTL8139" by RealTek).
Since future revs of the our product may receive a different NIC(s), I hope
to have the program do the work.
Thanks, in advance,
DRBarkley
p.s. I hope I have posted this correctly, I believe this is Cross-Posting,
not Multi-Posting?
(I'm sure I will hear about it, if wrong ;-))
|