Partager via


IMsRdpClientAdvancedSettings::put_RedirectSmartCards (Windows Embedded CE 6.0)

1/6/2010

This method sets a value that indicates whether smart-card redirection is enabled.

Syntax

HRESULT put_RedirectSmartCards( 
    VARIANT_BOOL redirectSmartCards
);

Parameters

  • redirectSmartCards
    [in] Indicates whether smart-card redirection is enabled.

    Set this parameter to VARIANT_TRUE to enable smart-card redirection. When smart-card redirection is enabled, a message box appears at connection time, asking the user to confirm redirection for security purposes. Set this parameter to VARIANT_FALSE to make smart-card redirection unavailable.

Return Value

Returns S_OK if successful.

Requirements

Header mstsax.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsRdpClientAdvancedSettings Methods for Redirection
IMsRdpClientAdvancedSettings
IMsRdpClientAdvancedSettings::get_RedirectSmartCards