/*
* Copyright (c) 2022 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.Settings.Browser.Proxy
{
///
/// Defines the configuration of a proxy server.
///
[Serializable]
public class ProxyConfiguration
{
///
/// The host name or IP address of the proxy server.
///
public string Host { get; set; }
///
/// The password to be used for authentication.
///
public string Password { get; set; }
///
/// The port of the proxy server.
///
public int Port { get; set; }
///
/// The protocol of the proxy server.
///
public ProxyProtocol Protocol { get; set; }
///
/// Determines whether the proxy server requires authentication.
///
public bool RequiresAuthentication { get; set; }
///
/// The username to be used for authentication.
///
public string Username { get; set; }
}
}