ProxySettings
Assembly: ZennoLab.CommandCenter
Full name: ZennoLab.CommandCenter.ProxySettings
Represents a proxy settings object.
Constructor
ProxySettings()
Method
ProxySettings simple constructor
Parameters
| Параметр | Описание |
|---|---|
proxyString | The parameters of proxy. This string should has the follow format: [protocol://](login):(password)@:(port). For example: socks5://192.168.0.1:80 |
useProxifier | The true if use proxifier; otherwise and default, false. |
emulateGeolocation | The true if need emulate geolocation according with the ip; otherwise and default, false. |
emulateTimezone | The true if need emulate timezone according with the ip; otherwise and default, false. |
emulateWebrtc | The true if need emulate webrtc addresses according with the ip; otherwise and default, false. |
ProxySettings()
Method
ProxySettings detailed constructor
Parameters
| Параметр | Описание |
|---|---|
ip | The IP address for the proxy. |
port | The port for the instance. |
type | The type of proxy. It’s can be http, socks4 or socks5 |
login | The login for authorization. |
password | The password for authorization. |
useProxifier | The true if use proxifier; otherwise and default, false. |
emulateGeolocation | The true if need emulate geolocation according with the ip; otherwise and default, false. |
emulateTimezone | The true if need emulate timezone according with the ip; otherwise and default, false. |
emulateWebrtc | The true if need emulate webrtc addresses according with the ip; otherwise and default, false. |
Properties
Ip
Property
The IP address for the proxy.
Port
Property
The port for the instance.
Type
Property
The type of proxy. It’s can be http, socks4 or socks5
Login
Property
The login for authorization.
Password
Property
The password for authorization.
UseProxifier
Property
The true if use proxifier; otherwise and default, false.
EmulateGeolocation
Property
The true if need emulate geolocation according with the ip; otherwise and default, false.
EmulateTimezone
Property
The true if need emulate timezone according with the ip; otherwise and default, false.
EmulateWebrtc
Property
The true if need emulate webrtc addresses according with the ip; otherwise and default, false.
IpResolving
Property
Rules for resolving “output” IP of proxy.
Fields
Exclusions
Field
The list of the URL regex templates not to use proxy for.