|
-
Jul 15th, 2004, 11:56 AM
#1
Thread Starter
Member
Disabel A wireless connection *RESOLVED*
Hi all,
Does anyone know how to disable a wirless connection or pcmcia card via vb.net? I want to, well, need to be able to disable and enable a wireless card at will.
Any help would be appreciated. I googled it and didn't really find much out there which would be of any use.
Thanks ahead of time.
Last edited by jwebster03; Jul 16th, 2004 at 07:39 AM.
Jim Webster
-
Jul 16th, 2004, 07:38 AM
#2
Thread Starter
Member
Not exactly a conventional way to going about and finding a solution but, I have test the following and it does work. The only thing you may run into, is if the user is able to and smart enough to restart dhcp. If they aren't this will disable the connection. Note: When the computer restarts the connection will renable. For us, this is an ok solution because 1) At computer startup the hotspot client checks for updates then disables. 2) The MDC's (Mobile Data Computers) are locked down so the officers cannot restart DHCP.
To Terminate Network Connectivity:
Shell net Stop DHCP
To Start Network COnnectivity:
Shell net Start DHCP
Last edited by jwebster03; Jul 16th, 2004 at 07:52 AM.
Jim Webster
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|