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

# WdDeviceInfo

> WdDeviceInfo

描述已保存的设备记录。

**引入版本：** [RIT 0.0.14-preview](https://docs.xbox.com/zh-CN/reference/remoting/release-versions.md#release-versions)。

## 语法

```cpp theme={null}
struct WdDeviceInfo
{
    const char* remoteDevice;  
    const char* publicKeyHash; 
    uint32_t schemaVersion;    
};
```

### 成员

`remoteDevice`\
类型：**const char\***

必需，可连接的设备名称或 IP 地址，以 UTF-8 编码。

`publicKeyHash`\
类型：**const char\***

可选，上次观察到的配对设备 ID。可能为 null 或已过时；不能证明已获得授权。

`schemaVersion`\
类型：**uint32\_t**

已保存记录的只读架构版本。

## 备注

回调提供的结构体及其字符串是借用的，在回调返回后不得保留。

此记录不是实时的设备功能查询。它不包含处理器体系结构或仿真状态字段。

## 要求

| 要求 | 值 |
| - | - |
| **头文件** | WdRemoteIteration.h |
| **库** | wdremoteapi.lib |
| **NuGet 包** | [Microsoft.GDK.RemoteIterationClientApi](https://aka.ms/GameDevRemoteAPI) |

## 另请参阅

* [XBOX PC 远程迭代 API](https://docs.xbox.com/zh-CN/reference/remoting/remoteiteration_members.md)


## Related topics

- [WdDeviceInfoCallback](https://docs.xbox.com/zh-CN/reference/remoting/callbacks/wddeviceinfocallback.md)
- [WdDeviceInfoResultCallback](https://docs.xbox.com/zh-CN/reference/remoting/callbacks/wddeviceinforesultcallback.md)
- [XBOX PC Remote Iteration API](https://docs.xbox.com/zh-CN/reference/remoting/remoteiteration_members.md)
- [XBOX PC Remote Tools 常见问题解答和故障排除指南](https://docs.xbox.com/zh-CN/tools/tools-pc/xbox-pc-remote-tools/faq.md)
- [WdGetDevice](https://docs.xbox.com/zh-CN/reference/remoting/functions/wdgetdevice.md)
