> ## 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.

# MicrosoftGame.config Element - Identity

> MicrosoftGame.config Element - Identity

# MicrosoftGame.config Element - Identity

定义标题的 Name、Publisher、ResourceId 和 Version。标题信息可在合作伙伴中心的 "产品管理 -> 产品标识" 下找到；请参阅[在合作伙伴中心为托管合作伙伴设置游戏](/services/xbox-services/fundamentals/portal-config/live-setup-partner-center-partners)（面向托管合作伙伴）。用于在注册期间唯一标识标题。Name 和 Publisher 为必填字段。如果未指定，Version 将默认为 1.0.0.0。对于后续主机世代的附加包，包主版本必须递增超过现有包版本。

## 父元素

此元素的父元素是 Game 元素。

## 要求

此元素必须设置。

## 平台

此元素适用于 PC 和主机。

## 行为

* 属性为 Version、Name、ResourceId 和 Publisher。

### Version

* 默认值：1.0.0.0。
* Version 属性的允许值为四部分数字（例如 1.0.0.0）。
* 为 PC 发布时，最终版本部分必须为 0。
* 每个版本部分的最大值为 65,535。

### Name

* 无默认值。
* 值必须是长度介于 3 到 50 个字符之间的 ASCII 字符串。

### ResourceId

* 无默认值。
* 值必须是长度介于 0 到 30 个字符之间的 ASCII 字符串。

### Publisher

* 无默认值。
* 值必须符合 [RFC 2253](https://www.ietf.org/rfc/rfc2253.txt) 标准中的 LADPv3 可分辨名称部分。

## 备注

* ResourceId 将成为 PackageFullName 的一部分。这允许在 Name 和 Publisher 属性值相同时区分包。
* Publisher 属性的允许值示例为 "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"。
* 要获取适当的 Publisher 属性值，请在合作伙伴中心查看你的产品信息。

## 另请参阅

[MicrosoftGame.config 参考 - 目录](/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc)


## Related topics

- [MicrosoftGame.config Element - Game](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-game.md)
- [MicrosoftGame.config Element - Protocol](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-protocol.md)
- [MicrosoftGame.config Element - Executable](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-executable.md)
- [MicrosoftGame.config Element - Logo](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-logo.md)
- [MicrosoftGame.config Element - Folder](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-folder.md)
