Click or drag to resize

CrestronFileTransferClientSetProxyType Method

Sets the proxy type to use (e.g. HTTP, SOCKS5, etc).

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public int SetProxyType(
	CrestronFileTransferClientFTCProxyType proxyType
)

Parameters

proxyType  CrestronFileTransferClientFTCProxyType
The proxy type's enumerator. See: CrestronFileTransferClientFTCProxyType

Return Value

Int32
Zero if successful. -1 if underlying object has not been properly initialized. 1 if internal error occurred. Use GetLastClientError() to retrieve the error code. 87 if invalid parameter was passed.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe FTC Client has already been closed or disposed.
Remarks
If type "NONE" supplied, the use of proxy is disabled. Valid options: NONE, HTTP, HTTP_1_0, SOCKS4, SOCKS4A, SOCKS5, SOCKS5H. See: CrestronFileTransferClientFTCProxyType

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also