Skip to content

Commit 2865c8e

Browse files
committed
Code cleanup
1 parent 642ca77 commit 2865c8e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

InternetTest/InternetTest/Models/WiFiNetwork.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2222
SOFTWARE.
2323
*/
2424
using ManagedNativeWifi;
25-
using System;
26-
using System.Collections.Generic;
27-
using System.Linq;
28-
using System.Text;
29-
using System.Threading.Tasks;
3025

3126
namespace InternetTest.Models;
3227

@@ -94,7 +89,7 @@ public async Task<bool> ConnectAsync(string password = "")
9489
{
9590
if (Interface is null || Ssid is null)
9691
return false;
97-
92+
9893
if (ProfileName is { Length: 0 })
9994
{
10095
var profileXml = GetWpa2PersonalProfileXml(Ssid, password);

0 commit comments

Comments
 (0)