IMsRdpClientTransportSettings::GatewayCredsSource property

Specifies or retrieves the Remote Desktop Gateway (RD Gateway) authentication method.

This property is read/write.

Syntax

HRESULT put_GatewayCredsSource(
  [in]  ULONG ulProxyCredsSource
);

HRESULT get_GatewayCredsSource(
  [out] ULONG *pulProxyCredsSource
);

Property value

A ULONG variable that specifies the RD Gateway authentication method. This parameter can be one of the following values.

TSC_PROXY_CREDS_MODE_USERPASS (0)

Use a password (NTLM) as the authentication method for RD Gateway.

TSC_PROXY_CREDS_MODE_SMARTCARD (1)

Use a smart card as the authentication method for RD Gateway.

TSC_PROXY_CREDS_MODE_ANY (4)

Use any authentication method for RD Gateway.

Error codes

Returns S_OK if successful.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpClientTransportSettings is defined as 720298C0-A099-46f5-9F82-96921BAE4701

See also

IMsRdpClientTransportSettings