Re: Net connection detect - LAN vs WLAN



Look at enumerating connections and adapters, the enum net functions.

--
- Mark Randall
http://www.temporal-solutions.co.uk

"We're Systems and Networks..."
"It's our job to know..."

"Joachim" <Joachim@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:084DA3A9-0286-4F2C-8379-187685F774AD@xxxxxxxxxxxxxxxx
Is there a way to detect if you connect via a LAN or a WLAN? I have tried
the
example at http://www.devx.com/Intel/Article/17396, but it only seems to
discover LANS (my guess is both WLANs and LANs). The reason why I'm asking
is
since I have two network connections, one wireless and one wired, to the
same
computer and I only want to detect when the wired one connects.


.