173 lines
6.3 KiB
C#
173 lines
6.3 KiB
C#
/*
|
|
* 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/.
|
|
*/
|
|
|
|
namespace SafeExamBrowser.Configuration.ConfigurationData
|
|
{
|
|
internal static class Keys
|
|
{
|
|
internal const int WINDOWS = 1;
|
|
|
|
internal static class AdditionalResources
|
|
{
|
|
}
|
|
|
|
internal static class Applications
|
|
{
|
|
internal const string Active = "active";
|
|
internal const string AllowCustomPath = "allowUserToChooseApp";
|
|
internal const string AllowRunning = "runInBackground";
|
|
internal const string Argument = "argument";
|
|
internal const string Arguments = "arguments";
|
|
internal const string AutoStart = "autostart";
|
|
internal const string AutoTerminate = "strongKill";
|
|
internal const string Blacklist = "prohibitedProcesses";
|
|
internal const string DisplayName = "title";
|
|
internal const string ExecutableName = "executable";
|
|
internal const string ExecutablePath = "path";
|
|
internal const string Identifier = "identifier";
|
|
internal const string OperatingSystem = "os";
|
|
internal const string OriginalName = "originalName";
|
|
internal const string RendererName = "windowHandlingProcess";
|
|
internal const string ShowInShell = "iconInTaskbar";
|
|
internal const string Whitelist = "permittedProcesses";
|
|
}
|
|
|
|
internal static class Audio
|
|
{
|
|
internal const string InitialVolumeLevel = "audioVolumeLevel";
|
|
internal const string MuteAudio = "audioMute";
|
|
internal const string SetInitialVolumeLevel = "audioSetVolumeLevel";
|
|
}
|
|
|
|
internal static class Browser
|
|
{
|
|
internal const string AllowConfigurationDownloads = "downloadAndOpenSebConfig";
|
|
internal const string AllowDeveloperConsole = "allowDeveloperConsole";
|
|
internal const string AllowDownloads = "allowDownUploads";
|
|
internal const string AllowPageZoom = "enableZoomPage";
|
|
internal const string AllowPopups = "blockPopUpWindows";
|
|
internal const string CustomUserAgentDesktop = "browserUserAgentWinDesktopModeCustom";
|
|
internal const string CustomUserAgentMobile = "browserUserAgentWinTouchModeCustom";
|
|
internal const string MainWindowMode = "browserViewMode";
|
|
internal const string UserAgentModeDesktop = "browserUserAgentWinDesktopMode";
|
|
internal const string UserAgentModeMobile = "browserUserAgentWinTouchMode";
|
|
|
|
internal static class Filter
|
|
{
|
|
internal const string EnableContentRequestFilter = "URLFilterEnableContentFilter";
|
|
internal const string EnableMainRequestFilter = "URLFilterEnable";
|
|
internal const string RuleAction = "action";
|
|
internal const string RuleIsActive = "active";
|
|
internal const string RuleExpression = "expression";
|
|
internal const string RuleExpressionIsRegex = "regex";
|
|
internal const string UrlFilterRules = "URLFilterRules";
|
|
}
|
|
|
|
internal static class MainWindow
|
|
{
|
|
internal const string AllowAddressBar = "browserWindowAllowAddressBar";
|
|
internal const string AllowNavigation = "allowBrowsingBackForward";
|
|
internal const string AllowReload = "browserWindowAllowReload";
|
|
internal const string ShowReloadWarning = "showReloadWarning";
|
|
}
|
|
|
|
internal static class AdditionalWindow
|
|
{
|
|
internal const string AllowAddressBar = "newBrowserWindowAllowAddressBar";
|
|
internal const string AllowNavigation = "newBrowserWindowNavigation";
|
|
internal const string AllowReload = "newBrowserWindowAllowReload";
|
|
internal const string ShowReloadWarning = "newBrowserWindowShowReloadWarning";
|
|
}
|
|
}
|
|
|
|
internal static class ConfigurationFile
|
|
{
|
|
internal const string ConfigurationPurpose = "sebConfigPurpose";
|
|
internal const string KeepClientConfigEncryption = "clientConfigKeepEncryption";
|
|
}
|
|
|
|
internal static class Exam
|
|
{
|
|
}
|
|
|
|
internal static class General
|
|
{
|
|
internal const string AdminPasswordHash = "hashedAdminPassword";
|
|
internal const string AllowApplicationLog = "allowApplicationLog";
|
|
internal const string LogLevel = "logLevel";
|
|
internal const string QuitPasswordHash = "hashedQuitPassword";
|
|
internal const string StartUrl = "startURL";
|
|
}
|
|
|
|
internal static class Input
|
|
{
|
|
internal static class Keyboard
|
|
{
|
|
internal const string EnableAltEsc = "enableAltEsc";
|
|
internal const string EnableAltTab = "enableAltTab";
|
|
internal const string EnableAltF4 = "enableAltF4";
|
|
internal const string EnableCtrlEsc = "enableCtrlEsc";
|
|
internal const string EnableEsc = "enableEsc";
|
|
internal const string EnableF1 = "enableF1";
|
|
internal const string EnableF2 = "enableF2";
|
|
internal const string EnableF3 = "enableF3";
|
|
internal const string EnableF4 = "enableF4";
|
|
internal const string EnableF5 = "enableF5";
|
|
internal const string EnableF6 = "enableF6";
|
|
internal const string EnableF7 = "enableF7";
|
|
internal const string EnableF8 = "enableF8";
|
|
internal const string EnableF9 = "enableF9";
|
|
internal const string EnableF10 = "enableF10";
|
|
internal const string EnableF11 = "enableF11";
|
|
internal const string EnableF12 = "enableF12";
|
|
internal const string EnablePrintScreen = "enablePrintScreen";
|
|
internal const string EnableSystemKey = "enableStartMenu";
|
|
}
|
|
|
|
internal static class Mouse
|
|
{
|
|
internal const string EnableRightMouse = "enableRightMouse";
|
|
}
|
|
}
|
|
|
|
internal static class Network
|
|
{
|
|
internal static class Certificates
|
|
{
|
|
internal const string CertificateData = "certificateData";
|
|
internal const string CertificateType = "type";
|
|
internal const string EmbeddedCertificates = "embeddedCertificates";
|
|
}
|
|
}
|
|
|
|
internal static class Registry
|
|
{
|
|
}
|
|
|
|
internal static class Security
|
|
{
|
|
internal const string KioskModeCreateNewDesktop = "createNewDesktop";
|
|
internal const string KioskModeDisableExplorerShell = "killExplorerShell";
|
|
internal const string ServicePolicy = "sebServicePolicy";
|
|
}
|
|
|
|
internal static class UserInterface
|
|
{
|
|
internal const string ShowAudio = "audioControlEnabled";
|
|
internal const string ShowClock = "showTime";
|
|
internal const string ShowKeyboardLayout = "showInputLanguage";
|
|
internal const string ShowWirelessNetwork = "allowWlan";
|
|
internal const string UserInterfaceMode = "touchOptimized";
|
|
|
|
internal static class Taskbar
|
|
{
|
|
internal const string ShowApplicationLog = "showApplicationLogButton";
|
|
}
|
|
}
|
|
}
|
|
}
|