Click or drag to resize

ProxySettings Constructor

Creates a new instance of the Proxy Settings class

Namespace: Crestron.SimplSharp.Net
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public ProxySettings(
	string urlOrHost
)

Parameters

urlOrHost  String
The proxy's Host Name/IP address or fully qualified URL which will be used as the proxy regardless of the rest of the settings
Remarks
If just a Host Name or IP address is provided, the rest of non-default proxy attributes must be also provided. The defaults are: - 'HTTP' for Proxy type - 1080 for Proxy Port number - Empty Proxy User Name and Password for authentication A fully qualified URL in the form of [proxy_type://][user_name:password@]my_proxy_host_name_or_ip_address[:port_number] would define everything. Empty string provided explicitly disables any use of proxy with a request.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also