public static bool IsOpenAndAutoWifiProfile(WifiProfile profile) { return(profile.Authentication == "open" && profile.ConnectionMode == "auto"); }
public static string DeleteWifiProfile(WifiProfile profile) { string result = ExecuteNetSh("wlan delete profile name=\"" + profile.Name + "\""); return(result); }
public static bool IsOpenAndAutoWifiProfile(WifiProfile profile) { return profile.Authentication == "open" && profile.ConnectionMode == "auto"; }
public static bool IsOpenAndAutoWifiProfile(WifiProfile profile) { return(String.Equals(profile.Authentication, "open", StringComparison.CurrentCultureIgnoreCase) && String.Equals(profile.ConnectionMode, "auto", StringComparison.CurrentCultureIgnoreCase)); }