Home All Groups Group Topic Archive Search About
Author
15 Jun 2006 8:48 PM
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

Author
16 Jun 2006 3:36 AM
Ahmed
I think to access the drivers you need to install the Driver
Developement Kit (DDK)

Vhdl.eu wrote:
Show quoteHide quote
> 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
Author
16 Jun 2006 5:59 AM
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

Show quoteHide quote
"Vhdl.eu" <i***@mobile-it.be> schreef in bericht
news:4491c791$0$31461$ba620e4c@news.skynet.be...
> 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
>
>
Author
16 Jun 2006 12:05 PM
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


Show quoteHide quote
"Vhdl.eu" <i***@mobile-it.be> wrote in message
news:4491c791$0$31461$ba620e4c@news.skynet.be...
| 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
|
|
Author
18 Jun 2006 12:48 PM
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


Show quoteHide quote
"Jay B. Harlow [MVP - Outlook]" <Jay_Harlow_***@tsbradley.net> wrote in
message news:%23KwDq0TkGHA.4716@TK2MSFTNGP03.phx.gbl...
> 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
>
>
> "Vhdl.eu" <i***@mobile-it.be> wrote in message
> news:4491c791$0$31461$ba620e4c@news.skynet.be...
> | 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
> |
> |
>
>