ProxySettingsProxyType Property
The type of the proxy server.
Syntax
ANSI (Cross Platform) int GetProxySettingsProxyType();
int SetProxySettingsProxyType(int iProxySettingsProxyType); Unicode (Windows) INT GetProxySettingsProxyType();
INT SetProxySettingsProxyType(INT iProxySettingsProxyType);
Possible Values
CPT_NONE(0),
CPT_SOCKS_4(1),
CPT_SOCKS_5(2),
CPT_WEB_TUNNEL(3),
CPT_HTTP(4)
@property (nonatomic,readwrite,assign,getter=proxySettingsProxyType,setter=setProxySettingsProxyType:) int proxySettingsProxyType; - (int)proxySettingsProxyType; - (void)setProxySettingsProxyType:(int)newProxySettingsProxyType;
Possible Values
CPT_NONE(0),
CPT_SOCKS_4(1),
CPT_SOCKS_5(2),
CPT_WEB_TUNNEL(3),
CPT_HTTP(4)
#define PID_SSHCLIENT_PROXYSETTINGSPROXYTYPE 47 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_SSHClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_SSHClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
The type of the proxy server.
The WebTunnel proxy is also known as HTTPS proxy. Unlike HTTP proxy, HTTPS proxy (WebTunnel) provides end-to-end security.
cptNone | 0 |
cptSocks4 | 1 |
cptSocks5 | 2 |
cptWebTunnel | 3 |
cptHTTP | 4 |
Data Type
Integer