/* * Copyright (c) 2019 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. /// [Serializable] public class AppConfig { /// /// The file path of the local client configuration for the active user. /// public string AppDataFilePath { 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 BrowserLogFilePath { 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 ClientLogFilePath { get; set; } /// /// The file extension of configuration files for the application (including the period). /// public string ConfigurationFileExtension { 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 file path of the local client configuration for all users. /// public string ProgramDataFilePath { 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 RuntimeLogFilePath { get; set; } /// /// The URI scheme for SEB resources. /// public string SebUriScheme { get; set; } /// /// The URI scheme for secure SEB resources. /// public string SebUriSchemeSecure { get; set; } /// /// The communication address of the service component. /// public string ServiceAddress { get; set; } /// /// The name of the global inter-process synchronization event hosted by the service. /// public string ServiceEventName { get; set; } /// /// Creates a shallow clone. /// public AppConfig Clone() { return MemberwiseClone() as AppConfig; } } }