ProxySettings

Assembly: ZennoLab.CommandCenter
Full name: ZennoLab.CommandCenter.ProxySettings
Kind: class


Represents a proxy settings object.

Constructor

ProxySettings(string proxyString, bool useProxifier, bool emulateGeolocation, bool emulateTimezone, bool emulateWebrtc)

Constructor

ProxySettings simple constructor

Parameters

TypeNameDescription
stringproxyStringThe parameters of proxy. This string should has the follow format: [protocol://](login):(password)@:(port). For example: socks5://192.168.0.1:80
booluseProxifierThe true if use proxifier; otherwise and default, false.
boolemulateGeolocationThe true if need emulate geolocation according with the ip; otherwise and default, false.
boolemulateTimezoneThe true if need emulate timezone according with the ip; otherwise and default, false.
boolemulateWebrtcThe true if need emulate webrtc addresses according with the ip; otherwise and default, false.

ProxySettings(string ip, int port, string type, string login, string password, bool useProxifier, bool emulateGeolocation, bool emulateTimezone, bool emulateWebrtc)

Constructor

ProxySettings detailed constructor

Parameters

TypeNameDescription
stringipThe IP address for the proxy.
intportThe port for the instance.
stringtypeThe type of proxy. It’s can be http, socks4 or socks5
stringloginThe login for authorization.
stringpasswordThe password for authorization.
booluseProxifierThe true if use proxifier; otherwise and default, false.
boolemulateGeolocationThe true if need emulate geolocation according with the ip; otherwise and default, false.
boolemulateTimezoneThe true if need emulate timezone according with the ip; otherwise and default, false.
boolemulateWebrtcThe true if need emulate webrtc addresses according with the ip; otherwise and default, false.

Properties

Ip

Property

string Ip { get; set; }

The IP address for the proxy.

Port

Property

int Port { get; set; }

The port for the instance.

Type

Property

string Type { get; set; }

The type of proxy. It’s can be http, socks4 or socks5

Login

Property

string Login { get; set; }

The login for authorization.

Password

Property

string Password { get; set; }

The password for authorization.

UseProxifier

Property

bool UseProxifier { get; set; }

The true if use proxifier; otherwise and default, false.

EmulateGeolocation

Property

bool EmulateGeolocation { get; set; }

The true if need emulate geolocation according with the ip; otherwise and default, false.

EmulateTimezone

Property

bool EmulateTimezone { get; set; }

The true if need emulate timezone according with the ip; otherwise and default, false.

EmulateWebrtc

Property

bool EmulateWebrtc { get; set; }

The true if need emulate webrtc addresses according with the ip; otherwise and default, false.

IpResolving

Property

ResolvingBase IpResolving { get; set; }

Rules for resolving “output” IP of proxy.