/*
* Copyright (c) 2023 ETH Zürich, Educational Development and Technology (LET)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
using System;
using System.Collections.Generic;
using SafeExamBrowser.SystemComponents.Contracts.Network.Events;
namespace SafeExamBrowser.SystemComponents.Contracts.Network
{
///
/// Defines the functionality of the network adapter system component.
///
public interface INetworkAdapter : ISystemComponent
{
///
/// The connection status of the network adapter.
///
ConnectionStatus Status { get; }
///
/// The type of the current network connection.
///
ConnectionType Type { get; }
///
/// Fired when the network adapter has changed.
///
event ChangedEventHandler Changed;
///
/// Attempts to connect to the wireless network with the given ID.
///
void ConnectToWirelessNetwork(Guid id);
///
/// Retrieves all currently available wireless networks.
///
IEnumerable GetWirelessNetworks();
}
}