Click or drag to resize

CrestronFileTransferClientSetHttpAuthMethod Method

Sets HTTP server authentication methods to try.

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public int SetHttpAuthMethod(
	CrestronFileTransferClientFTCAuthMethod authMethod
)

Parameters

authMethod  CrestronFileTransferClientFTCAuthMethod
The bitmask, to tell the client which HTTP authentication method(s) you want it to use for your HTTP server authentication. If more than one bit is set, the client will first query the site to see what authentication methods it supports and then pick the best one you allow it to use.

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.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also