다음을 통해 공유


IMsRdpClientTransportSettings2::GatewayPreAuthRequirement 속성

원격 데스크톱 게이트웨이(RD 게이트웨이) OTP(일회성 암호) 기능을 사용할 수 있는지 여부에 대한 설정을 지정하거나 검색합니다.

OTP를 사용하도록 설정하면 GatewayPreAuthRequirementGatewayPreAuthServerAddr 속성을 사용하여 인터넷 쿠키 저장소에서 OTP 쿠키를 쿼리하려고 시도합니다. 성공하면 GatewayPreAuthRequirement 는 사전 인증을 위해 OTP 쿠키를 방화벽 서버(예: Microsoft 인터넷 보안 및 가속 [ISA] 서버)로 보냅니다.

이 속성은 읽기/쓰기가 가능합니다.

구문

HRESULT put_GatewayPreAuthRequirement(
  [in]  ULONG ulProxyPreAuthRequirement
);

HRESULT get_GatewayPreAuthRequirement(
  [out] ULONG *pulProxyPreAuthRequirement
);

속성 값

1로 설정하면 OTP 기능이 활성화됩니다. 0으로 설정하면 OTP 기능이 비활성화됩니다.

오류 코드

성공하면 S_OK 반환합니다.

요구 사항

요구 사항
지원되는 최소 클라이언트
Windows Vista SP1
지원되는 최소 서버
Windows Server 2008
유형 라이브러리
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpClientTransportSettings2 67341688-D606-4c73-A5D2-2E0489009319로 정의됩니다.

추가 정보

IMsRdpClientTransportSettings

IMsRdpClientTransportSettings2