> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XNetworkingQuerySecurityInformationForUrlUtf16Async

> XNetworkingQuerySecurityInformationForUrlUtf16Async

# XNetworkingQuerySecurityInformationForUrlUtf16Async

XBOX Live 対応タイトル向けに Universal Developer Portal で構成されている URL に関連するセキュリティ情報を取得します。

## 構文

```cpp theme={null}
HRESULT XNetworkingQuerySecurityInformationForUrlUtf16Async(
         const wchar_t* url,
         XAsyncBlock* asyncBlock
)
```

### パラメーター

*url*   \_In\_z\_\
型: wchar\_t\*

証明書拇印の一覧を取得する URL エンドポイント。

*asyncBlock*   \_Inout\_\
型: [XAsyncBlock](/reference/system/xasync/structs/xasyncblock)\*

[XAsyncRun](/reference/system/xasync/functions/xasyncrun) 関数に渡される [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) 構造体へのポインター。

### 戻り値

型: HRESULT

非同期呼び出しの HRESULT の成功またはエラー コード。

## 解説

この関数は、Universal Developer Portal を通じてタイトルに構成された URL に関連する証明書の非同期要求を開始します。これにより、XBOX Live 対応の Microsoft Game Development Kit (GDK) タイトルは、[Windows HTTP Services (WinHTTP)](https://learn.microsoft.com/windows/desktop/winhttp/winhttp-start-page) API と組み合わせて、カスタムのタイトル固有サービス エンドポイントに対して証明書ピン留めを実行できます。

<Note>XBOX Live サービス エンドポイントに対してカスタム Web 要求を行う場合は、XBOX Services API (XSAPI) ライブラリに証明書ピン留めを自動的に実行させてください。</Note>

このメソッドは呼び出し元プロセス内のローカル状態を照会して迅速に返るため、時間の影響を受けやすいコンテキストから呼び出しても安全です。

## 要件

**ヘッダー:** XNetworking.h

**ライブラリ:** xgameruntime.lib

**サポートされているプラットフォーム:** Windows、XBOX One ファミリ コンソール、XBOX Series コンソール

## 概念ドキュメント

* [WinHTTP の概要](/build/console-features/networking/web-requests/intro-winhttp)

## 関連項目

[ネットワーク情報の取得](/build/console-features/networking/initialization-connectivity-networking)\
[XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresult)\
[XNetworking](/reference/networking/xnetworking/xnetworking_members)


## Related topics

- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult](/ja-jp/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresult.md)
- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize](/ja-jp/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresultsize.md)
- [XNetworkingSecurityInformation](/ja-jp/reference/networking/xnetworking/structs/xnetworkingsecurityinformation.md)
- [WinHTTP の概要](/ja-jp/build/console-features/networking/web-requests/intro-winhttp.md)
- [XNetworking](/ja-jp/reference/networking/xnetworking/xnetworking_members.md)
