/* * 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/. */ using System; namespace SafeExamBrowser.Contracts.Configuration { /// /// Defines the fundamental, global configuration information for all application components. /// TODO: Rename to Globals or GlobalConfiguration or alike! /// [Serializable] public class RuntimeInfo { /// /// The path of the application data folder. /// public string AppDataFolder { get; set; } /// /// The point in time when the application was started. /// public DateTime ApplicationStartTime { get; set; } /// /// The path where the browser cache is to be stored. /// public string BrowserCachePath { get; set; } /// /// The file path under which the log of the browser component is to be stored. /// public string BrowserLogFile { get; set; } /// /// The communication address of the client component. /// public string ClientAddress { get; set; } /// /// The executable path of the client compontent. /// public string ClientExecutablePath { get; set; } /// /// The unique identifier for the currently running client instance. /// public Guid ClientId { get; set; } /// /// The file path under which the log of the client component is to be stored. /// public string ClientLogFile { get; set; } /// /// The file extension of configuration files for the application (including the period). /// public string ConfigurationFileExtension { get; set; } /// /// The default file name for application settings. /// public string DefaultSettingsFileName { get; set; } /// /// The default directory for file downloads. /// public string DownloadDirectory { get; set; } /// /// The copyright information for the application (i.e. the executing assembly). /// public string ProgramCopyright { get; set; } /// /// The path of the program data folder. /// public string ProgramDataFolder { get; set; } /// /// The program title of the application (i.e. the executing assembly). /// public string ProgramTitle { get; set; } /// /// The program version of the application (i.e. the executing assembly). /// public string ProgramVersion { get; set; } /// /// The communication address of the runtime component. /// public string RuntimeAddress { get; set; } /// /// The unique identifier for the currently running runtime instance. /// public Guid RuntimeId { get; set; } /// /// The file path under which the log of the runtime component is to be stored. /// public string RuntimeLogFile { get; set; } /// /// The communication address of the service component. /// public string ServiceAddress { get; set; } } }