Export (0) Print
Expand All

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

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

IMsRdpClientNonScriptable3

 

 

Show:
© 2014 Microsoft