Hi Neil
I agree with Pete's suggestions.
Anyway I would like to add more comments here. Did you mean that the active
NIC referred to a connected NIC in your LAN? If so, you may consider using
Ping class located in the System.Net.NetworkInformation namespace.
You may refer to:
Simple Ping Utility with GUI
http://www.codeproject.com/KB/IP/Sim...?df=100&forumi
d=421321&exp=0&select=2117629&tid=2117629
You may also consider using WMI to check if a NIC is enabled or disabled.
Please refer to:
http://www.visualbasicscript.com/m_3384/tm.htm http://www.codeguru.com/forum/showthread.php?t=381506
This response contains a reference to a third party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.
Please feel free to let us know if you have any other questions or
concerns. Have a nice day!
Best regards,
Charles Wang
Microsoft Online Community Support
================================================== ===
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== ====