Wlan - VB.NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vhdl.eu

    #1

    Wlan - VB.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,
    cteq.eu: Sea of Technology



  • Ahmed

    #2
    Re: Wlan - VB.NET

    I think to access the drivers you need to install the Driver
    Developement Kit (DDK)

    Vhdl.eu wrote:[color=blue]
    > 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[/color]

    Comment

    • Cor Ligthert [MVP]

      #3
      Re: Wlan - VB.NET

      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

      "Vhdl.eu" <info@mobile-it.be> schreef in bericht
      news:4491c791$0 $31461$ba620e4c @news.skynet.be ...[color=blue]
      > 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
      >
      >[/color]


      Comment

      • Jay B. Harlow [MVP - Outlook]

        #4
        Re: Wlan - VB.NET

        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.WebC lient
        client.Download File("http://www.microsoft.c om", "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.IOContro l, I don't see any).

        I'm not sure if Socket.IOContro l 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:



        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" <info@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
        |
        |


        Comment

        • Vhdl.eu

          #5
          Re: Wlan - VB.NET

          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,
          cteq.eu: Sea of Technology



          "Jay B. Harlow [MVP - Outlook]" <Jay_Harlow_MVP @tsbradley.net> wrote in
          message news:%23KwDq0Tk GHA.4716@TK2MSF TNGP03.phx.gbl. ..[color=blue]
          > 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.WebC lient
          > client.Download File("http://www.microsoft.c om", "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.IOContro l, I don't see any).
          >
          > I'm not sure if Socket.IOContro l 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/...IoControl.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" <info@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
          > |
          > |
          >
          >[/color]


          Comment

          Working...