IMsRdpClientTransportSettings2::GatewayPreAuthRequirement property

Specifies or retrieves the setting for whether the Remote Desktop Gateway (RD Gateway) one-time password (OTP) feature is enabled.

When OTP is enabled, GatewayPreAuthRequirement tries to query the OTP cookie from the Internet cookie store by using the GatewayPreAuthServerAddr property. If successful, GatewayPreAuthRequirement sends the OTP cookie to the firewall server (such as Microsoft Internet Security and Acceleration [ISA] server) for pre-authentication.

This property is read/write.

Syntax

HRESULT put_GatewayPreAuthRequirement(
  [in]  ULONG ulProxyPreAuthRequirement
);

HRESULT get_GatewayPreAuthRequirement(
  [out] ULONG *pulProxyPreAuthRequirement
);

Property value

If set to 1, the OTP feature is enabled. If set to 0, the OTP feature is disabled.

Error codes

Returns S_OK if successful.

Requirements

Requirement Value
Minimum supported client
Windows Vista with SP1
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpClientTransportSettings2 is defined as 67341688-D606-4c73-A5D2-2E0489009319

See also

IMsRdpClientTransportSettings

IMsRdpClientTransportSettings2