state of Wireless Lan connection

  • Thread starter Thread starter s_alexander04
  • Start date Start date
S

s_alexander04

Hello! The question is: how to check programmatically status of
Wireless Lan connection? That is, is it connected or not?
 
Hi,
if your ip address is 127.0.0.1, then you are not connected.

Dim localEndPoint As New
IPEndPoint(Dns.Resolve(Dns.GetHostName()).AddressList(0), 0)
If localEndPoint.Address.ToString = "127.0.0.1" Then ....


Pete
 
Back
Top