Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IXMLHTTPRequest3::SetClientCertificate method

Sets a client certificate to be used to authenticate against the URL specified in the Open method.

Syntax


HRESULT SetClientCertificate(
  [in]                                                 DWORD cbClientCertificateHash,
  [in, size_is(cbClientCertificateHash), unique] const BYTE  *pbClientCertificateHash,
  [in, unique]                                   const WCHAR *pwszPin
);

Parameters

cbClientCertificateHash [in]

The number of bytes of pbClientCertHash parameter.

pbClientCertificateHash [in]

The thumbprint or hash completed over the complete client certificate being set on the HTTPS request.

pwszPin [in]

This parameter is reserved.

Return value

Returns S_OK on success.

Requirements

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

IDL

Msxml6.idl

See also

IXMLHTTPRequest3
Open

 

 

Community Additions

Show:
© 2017 Microsoft