Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinForm UI #9

Open
bartsipes opened this issue Jun 7, 2013 · 6 comments
Open

WinForm UI #9

bartsipes opened this issue Jun 7, 2013 · 6 comments

Comments

@bartsipes
Copy link

"I have a WifiProfile class that's basic, but it wouldn't be hard to put a WinForms wrapper around this thing. It would be a fun challenge to DUPLICATE the Win7 dialog exactly."

Are you referring to the dialog that comes up after clicking the 5 bar wireless icon in the system tray on Win7? If so, what exactly are you thinking of for the UI experience?

I'm guessing you would have an icon in the system tray for the Wifi manager, clicking on it would open an equivalent dialog containing the the collapsible "Wireless Network Connection" section from the Win7 dialog and all wireless networks would then be displayed.

Thoughts?

@shanselman
Copy link
Owner

Exactly right.

Scott Hanselman

On Jun 6, 2013, at 9:25 PM, Bart Sipes [email protected] wrote:

"I have a WifiProfile class that's basic, but it wouldn't be hard to put a WinForms wrapper around this thing. It would be a fun challenge to DUPLICATE the Win7 dialog exactly."

Are you referring to the dialog that comes up after clicking the 5 bar wireless icon in the system tray on Win7? If so, what exactly are you thinking of for the UI experience?

I'm guessing you would have an icon in the system tray for the Wifi manager, clicking on it would open an equivalent dialog containing the the collapsible "Wireless Network Connection" section from the Win7 dialog and all wireless networks would then be displayed.

Thoughts?


Reply to this email directly or view it on GitHub.

raudabaugh pushed a commit to raudabaugh/Windows-Wifi-Manager that referenced this issue Jun 10, 2013
@raudabaugh
Copy link

It might be a good idea to find a way to silently extract the netsh output in NetShWlanWrapper. The command window noticeably opens and closes when interacting with the tray UI.

@shanselman
Copy link
Owner

Ya, was working on that literally just now. Google says this is a problem with WPF apps. I was investigating hacks then got a headache.

On Jun 10, 2013, at 8:29 AM, Sam Raudabaugh [email protected] wrote:

It might be a good idea to find a way to silently extract the netsh output in NetShWlanWrapper. The command window noticeably opens and closes when interacting with the tray UI.


Reply to this email directly or view it on GitHub.

@bartsipes
Copy link
Author

Yeah, I noticed the same thing. I just added a line to set Process.StartInfo.CreateNoWindow = true.

@raudabaugh you're beating me to the punch on this. I'll have to check out your here soon when I get some free time again.

@grbrandt
Copy link

@shanselman Simply changing the p.StartInfo.CreateNoWindow from false to true in NetShWlanWrapper.cs does the trick for me at least, completely headache free. You can then also remove the line where you set the WindowStyle to hidden.

@majkinetor
Copy link

majkinetor commented May 7, 2016

I have similar thing, I think, in my network powershell module:

https://github.com/majkinetor/posh/tree/master/MM_Network

See, -Wireless functions.

You can get and delete and even create:

PS> Get-WirelessNetwork | ft

SSID           Authentication  Encryption Signal Radiotype Channel BSSID             Interface                   Status
----           --------------  ---------- ------ --------- ------- -----             ---------                   ------
Bick92         WPA-Personal    CCMP       83     802.11g   10      24:1f:a0:6d:da:ec Wireless Network Connection
DejanTP-Link   WPA2-Personal   CCMP       36     802.11n   11      d8:5d:4c:a4:f8:90 Wireless Network Connection
003300         WPA2-Personal   CCMP       24     802.11n   1       00:71:c2:35:31:56 Wireless Network Connection
ZTE80B1E2      Open            None       20     802.11n   6       54:be:53:80:99:f6 Wireless Network Connection
554c43         WPA2-Personal   CCMP       10     802.11n   11      d8:97:ba:89:c3:a6 Wireless Network Connection
InatiasNet 2   WPA2-Personal   CCMP       10     802.11n   1       30:b5:c2:44:f6:6f Wireless Network Connection
Marina         WPA-Personal    CCMP       4      802.11n   3       24:1f:a0:3a:45:d8 Wireless Network Connection
5f4a6b         WPA2-Personal   CCMP       4      802.11n   1       00:71:c2:32:7f:6c Wireless Network Connection
KBCnet_Hotspot Open            None       4      802.11b   3       d4:ca:6d:8c:84:8d Wireless Network Connection
f8b630         WPA2-Personal   CCMP       2      802.11n   11      54:be:f7:56:a5:e3 Wireless Network Connection
UniFi          WPA2-Enterprise CCMP       2      802.11n   1       56:be:f7:14:ce:4d Wireless Network Connection
8f8788         WPA2-Personal   CCMP       2      802.11n   6       dc:fe:07:2d:85:22 Wireless Network Connection
majkinetor     WPA2-Personal   TKIP                                                  Wireless Network Connection Connected
c08484         WPA2-Personal   CCMP       0      802.11n   1       60:02:92:27:58:97 Wireless Network Connection

PS> Get-WirelessNetwork maj* | Remove-WirelessNetwork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants