/* * Copyright (c) 2021 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; using System.Collections.Generic; using SafeExamBrowser.Settings.Browser.Proxy; namespace SafeExamBrowser.Settings.Browser { /// /// Defines the proxy settings for the browser engine. /// [Serializable] public class ProxySettings { /// /// Determines whether proxy auto-configuration should be used. Requires a valid URL defined in . /// public bool AutoConfigure { get; set; } /// /// A valid URL to a proxy auto-configuration file (.pac). Is only evaluated if is enabled. /// public string AutoConfigureUrl { get; set; } /// /// Forces proxy auto-detection by the browser engine. /// public bool AutoDetect { get; set; } /// /// A list of hosts for which all proxy settings should be bypassed. /// public IList BypassList { get; set; } /// /// The proxy policy to be used. /// public ProxyPolicy Policy { get; set; } /// /// Defines all proxies to be used. /// public IList Proxies { get; set; } public ProxySettings() { BypassList = new List(); Proxies = new List(); } } }