2018-02-12 12:21:55 +01:00
|
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2018 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/.
|
|
|
|
|
*/
|
|
|
|
|
|
2018-02-14 15:26:05 +01:00
|
|
|
|
using System;
|
2018-02-12 12:21:55 +01:00
|
|
|
|
|
|
|
|
|
namespace SafeExamBrowser.Contracts.Configuration
|
|
|
|
|
{
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Container for the configuration of the client application component.
|
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
[Serializable]
|
|
|
|
|
public class ClientConfiguration
|
2018-02-12 12:21:55 +01:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2018-02-14 15:26:05 +01:00
|
|
|
|
/// The unique identifier for the current session.
|
2018-02-12 12:21:55 +01:00
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public Guid SessionId { get; set; }
|
2018-02-12 12:21:55 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The application settings to be used by the client.
|
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public Settings.Settings Settings { get; set; }
|
2018-02-12 12:21:55 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The information about the current runtime.
|
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public RuntimeInfo RuntimeInfo { get; set; }
|
2018-02-12 12:21:55 +01:00
|
|
|
|
}
|
|
|
|
|
}
|