IMsRdpClientNonScriptable3::NegotiateSecurityLayer property

Specifies or retrieves whether the negotiation security layer is enabled for the connection.

This property is read/write.

Syntax

HRESULT put_NegotiateSecurityLayer(
  [in]  VARIANT_BOOL fNegotiate
);

HRESULT get_NegotiateSecurityLayer(
  [out] VARIANT_BOOL *pfNegotiate
);

Property value

Specifies whether to enable negotiation of the security layer.

Remarks

If this property is set to VARIANT_FALSE and Network Level Authentication (NLA) is enabled on the client operating system, the client will not negotiate the security layer and instead, it will use NLA to secure the RDP connection. If this property is set to VARIANT_TRUE, then the client will negotiate between NLA and basic RDP security.

Note

Disabling security layer negotiation is only possible when connecting to a Remote Desktop Session Host (RD Session Host) server running Windows Vista or later operating systems. If this property is enabled and the client attempts to connect to an RD Session Host server running an earlier operating system, the connection will fail.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpClientNonScriptable3 is defined as b3378d90-0728-45c7-8ed7-b6159fb92219

See also

IMsRdpClientNonScriptable4

IMsRdpClientNonScriptable5

IMsRdpClientNonScriptable3