Wlan - VB.NET

V

Vhdl.eu

Hi all,

Is there anyone who knows how to access the Wlan Driver in Windows XP by
mean of a VB.NET application?

In other words; how can I use the Wlan driver from Windows in my next VB.NET
application?

Thanks in advance, kind regards,
http://www.vhdl.eu
 
C

Cor Ligthert [MVP]

Vhdl,

I think in the same way as any driver in VB.Net, you don't use them, they
are on a to low level in the OS system to reach them direct. You don't
access the screens as well not direct.

Just my thought,

Cor
 
J

Jay B. Harlow [MVP - Outlook]

vhdl.eu,
In addition to the other comments.

Can you explain exactly what you want, or think you need?

You implicitly use the Wlan driver each time you use a connection that
happens to on your wireless adapter.

For example:

Dim client As New System.Net.WebClient
client.DownloadFile("http://www.microsoft.com", "home.html")

Would "access" the wlan driver if your connection to the internet was over
your wireless card... Your application shouldn't care that it is a wlan
connection or not.... Just that a connection is available.


If you do (care its a wlan connection) then I would look at the "IO Control"
Win32 functions. You can use P/Invoke (Declare statements) to access the
Win32 "IO Control" functions if there are available in the framework already
(they may be, other then Socket.IOControl, I don't see any).

I'm not sure if Socket.IOControl exposes what you want or not (it sounds
promising):

http://msdn2.microsoft.com/en-us/library/ms145152.aspx

Alternatively you should be able to use the DeviceIoControl API:

http://www.pinvoke.net/default.aspx/kernel32/DeviceIoControl.html

There may be other Win32 APIs that you need to use in addition to
DeviceIoControl...

--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


| Hi all,
|
| Is there anyone who knows how to access the Wlan Driver in Windows XP by
| mean of a VB.NET application?
|
| In other words; how can I use the Wlan driver from Windows in my next
VB.NET
| application?
|
| Thanks in advance, kind regards,
| http://www.vhdl.eu
|
|
 
V

Vhdl.eu

Thanks for your answers,

The problem why I would like to have access to the driver is: I would like
to see what AP's are seen by my Wlan Card and what the signal strenght is.
Or are those kind of things all visible by WMI?


Kind regards,
http://www.vhdl.eu
 

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

Top