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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top