Skip to content

Commit 2c82385

Browse files
committed
NetworkAuthenticationType added
1 parent 0596f5b commit 2c82385

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

  • Source/NETworkManager/Models/Network

Source/NETworkManager/Models/Network/WiFi.cs

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,7 @@ public static string GetHumanReadableNetworkAuthenticationType(NetworkAuthentica
182182
string type = "-/-";
183183

184184
switch (networkAuthenticationType)
185-
{
186-
case NetworkAuthenticationType.Ihv:
187-
type = "-/-";
188-
break;
189-
case NetworkAuthenticationType.None:
190-
type = "-/-";
191-
break;
185+
{
192186
case NetworkAuthenticationType.Open80211:
193187
type = "Open";
194188
break;
@@ -198,22 +192,27 @@ public static string GetHumanReadableNetworkAuthenticationType(NetworkAuthentica
198192
case NetworkAuthenticationType.RsnaPsk:
199193
type = "WPA2 PSK";
200194
break;
201-
case NetworkAuthenticationType.SharedKey80211:
202-
type = "-/-";
203-
break;
204-
case NetworkAuthenticationType.Unknown:
205-
type = "Unkown";
206-
break;
207195
case NetworkAuthenticationType.Wpa:
208196
type = "WPA Enterprise";
209197
break;
210198
case NetworkAuthenticationType.WpaNone:
211-
type = "-/-";
199+
type = "WPA None";
212200
break;
213201
case NetworkAuthenticationType.WpaPsk:
214202
type = "WPA PSK";
215203
break;
216-
204+
case NetworkAuthenticationType.SharedKey80211:
205+
type = "WEP";
206+
break;
207+
case NetworkAuthenticationType.Ihv:
208+
type = "IHV";
209+
break;
210+
case NetworkAuthenticationType.Unknown:
211+
type = "Unkown";
212+
break;
213+
case NetworkAuthenticationType.None:
214+
type = "-/-";
215+
break;
217216
}
218217

219218
return type;

0 commit comments

Comments
 (0)