/// <summary> /// Creates the EAP user XML and saves /// </summary> /// <returns>Returns true if it is successfully else returns false</returns> private bool SaveToEAP() { if (!IsDomainSupported || !IsPasswordValid) { return(false); } string userXML = EapUserFactory.Generate(_network.dot11DefaultCipherAlgorithm, Username, Password, Domain); _wlanInterface.SetEAP(_network.profileName, userXML); return(true); }
private bool SaveToEAP() { if (!_isEAPStore || !IsPasswordValid) { return(false); } string userXML = EapUserFactory.Generate(_network.dot11DefaultCipherAlgorithm, _username, _password, _domain); _interface.SetEAP(_network.profileName, userXML); return(true); }