seb-win-refactoring/SafeExamBrowser.SystemComponents.Contracts/WirelessNetwork/IWirelessNetwork.cs
2021-02-03 00:45:33 +01:00

38 lines
982 B
C#

/*
* Copyright (c) 2021 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;
namespace SafeExamBrowser.SystemComponents.Contracts.WirelessNetwork
{
/// <summary>
/// Defines a wireless network which can be connected to by the application.
/// </summary>
public interface IWirelessNetwork
{
/// <summary>
/// The unique identifier of the network.
/// </summary>
Guid Id { get; }
/// <summary>
/// The network name.
/// </summary>
string Name { get; }
/// <summary>
/// The signal strength of this network, from <c>0</c> (worst) to <c>100</c> (best).
/// </summary>
int SignalStrength { get; }
/// <summary>
/// The connection status of this network.
/// </summary>
WirelessNetworkStatus Status { get; }
}
}