internal bool Process() { if (!IsPasswordValid) { return(false); } string profileXML = ProfileFactory.Generate(_network, Password); _interface.SetProfile(WlanProfileFlags.AllUser, profileXML, true); return(!_isEAPStore || SaveToEAP()); }
internal bool Process() { if (!IsPasswordValid) { return(false); } string profileXML = ProfileFactory.Generate(_network, _password, _ssidBroadcast); _interface.SetProfile(WlanProfileFlags.AllUser, profileXML, true); if (_isEAPStore && !SaveToEAP()) { return(false); } return(true); }
public bool Process() { if (!IsPasswordValid) { return(false); } profileXML = ProfileFactory.Generate(_network, _password); try { _interface.SetProfile(WlanProfileFlags.AllUser, profileXML, true); } catch (Exception e) { // throw new Exception(e.Message); } if (_isEAPStore && !SaveToEAP()) { return(false); } return(true); }