IMsTscAxEvents::OnReceivedTSPublicKey method

Called during the connection sequence when the client retrieves the public key from the server. This event is only called if the NotifyTSPublicKey property is VARIANT_TRUE. This is after OnConnecting, but before OnAuthenticationWarningDisplayed and OnConnected.

Syntax

void OnReceivedTSPublicKey(
  [in]  BSTR         publicKey,
  [out] VARIANT_BOOL *pfContinueLogon
);

Parameters

publicKey [in]

Contains the public key of the remote machine.

pfContinueLogon [out]

A pointer to a VARIANT_BOOL variable that receives whether the logon process should continue.

Return value

This method does not return a value.

Remarks

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008, Windows Server 2008 with SP1
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IMsTscAxEvents is defined as 336d5562-efa8-482e-8cb3-c5c0fc7a7db6

See also

IMsTscAxEvents