seb-win-refactoring/SafeExamBrowser.SystemComponents.Contracts/Network/ConnectionStatus.cs

36 lines
880 B
C#

/*
* 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/.
*/
namespace SafeExamBrowser.SystemComponents.Contracts.Network
{
/// <summary>
/// Defines all possible connection statuses which can be determined by the application.
/// </summary>
public enum ConnectionStatus
{
/// <summary>
/// The connection status is not determinable.
/// </summary>
Undefined = 0,
/// <summary>
/// A connection has been established.
/// </summary>
Connected,
/// <summary>
/// A connection is being established.
/// </summary>
Connecting,
/// <summary>
/// No connection is established.
/// </summary>
Disconnected
}
}