CrestronFileTransferClientSetProxy Method |
Sets the proxy's name or IP address.
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic int SetProxy(
string proxyNameOrIP
)
Parameters
- proxyNameOrIP String
- The name or IP address
Return Value
Int32Zero 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
RemarksOptionally, fully qualified URL to the proxy can be supplied. Example: "socks5://myproxy:1080"
Non-ASCII characters are not currently supported.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also