Microsoft.GDK.RemoteIterationClientApi
0.1.2-preview.26.11.9001
Prefix Reserved
dotnet add package Microsoft.GDK.RemoteIterationClientApi --version 0.1.2-preview.26.11.9001
NuGet\Install-Package Microsoft.GDK.RemoteIterationClientApi -Version 0.1.2-preview.26.11.9001
<PackageReference Include="Microsoft.GDK.RemoteIterationClientApi" Version="0.1.2-preview.26.11.9001" />
<PackageVersion Include="Microsoft.GDK.RemoteIterationClientApi" Version="0.1.2-preview.26.11.9001" />
<PackageReference Include="Microsoft.GDK.RemoteIterationClientApi" />
paket add Microsoft.GDK.RemoteIterationClientApi --version 0.1.2-preview.26.11.9001
#r "nuget: Microsoft.GDK.RemoteIterationClientApi, 0.1.2-preview.26.11.9001"
#:package Microsoft.GDK.RemoteIterationClientApi@0.1.2-preview.26.11.9001
#addin nuget:?package=Microsoft.GDK.RemoteIterationClientApi&version=0.1.2-preview.26.11.9001&prerelease
#tool nuget:?package=Microsoft.GDK.RemoteIterationClientApi&version=0.1.2-preview.26.11.9001&prerelease
Microsoft.GDK.RemoteIterationClient
Remote Windows Development API for Xbox PC Gaming Device Tools.
Overview
This package provides the client API for remote iteration with Xbox gaming devices, enabling developers to streamline their development workflow.
Installation
Install via NuGet Package Manager:
Install-Package Microsoft.GDK.RemoteIterationClientApi
Or via .NET CLI:
dotnet add package Microsoft.GDK.RemoteIterationClientApi
Contents
This package includes:
- Headers:
WdRemoteIteration.h- C/C++ header for the APIwdcustomhresults.h- C/C++ definitions for theWD_E_*HRESULT values returned by the API (also projected asMicrosoft.Gaming.WdRemoteApi.WdHResultin the WinMD)
- Binaries: DLLs for x64 and ARM64 platforms
- WinMD: Windows Metadata for language projections
- JSON Schema:
devicecatalogschema.jsonversion 1.0 for stored Gaming Device Catalog records
Supported Platforms
- Windows x64
- Windows ARM64
Usage
Include the header in your project:
#include <WdRemoteIteration.h>
To check returned HRESULT values against the WD_E_* constants:
#include <WdRemoteIteration.h>
#include <wdcustomhresults.h>
The NuGet package automatically configures include paths and library references when installed.
Enumerate a remote directory
WdEnumRemoteDirectory streams files and directories in traversal order without
retaining the complete remote tree. Paths passed to the callback are UTF-8 and
relative to the requested folder. The requested folder itself is not reported,
but empty child directories are.
WdRemoteDirectoryOptions options{};
options.commonRootAlias = "primary";
options.recursive = true;
options.metadataFields =
static_cast<uint32_t>(WdRemoteDirectoryMetadataField::Attributes) |
static_cast<uint32_t>(WdRemoteDirectoryMetadataField::Size);
WdRemoteDirectorySearchOptions search{};
search.includeFilePattern = "*.pak";
search.excludeDirPattern = "intermediate";
HRESULT hr = WdEnumRemoteDirectory(
"target-device",
"game1",
&options,
&search,
[](size_t entryCount,
const WdRemoteDirectoryEntry* entries,
const WdRemoteDirectoryOperationSummary* summary,
void*) -> HRESULT {
for (size_t index = 0; index < entryCount; ++index)
{
printf("%s\n", entries[index].relativePath);
}
printf(
"%llu files, %llu directories\n",
static_cast<unsigned long long>(summary->fileCount),
static_cast<unsigned long long>(summary->directoryCount));
return S_OK;
},
nullptr,
nullptr);
Only requested metadata fields are populated. Entry paths and the callback array
are valid only until the callback returns. To cancel from another thread, pass a
WdCancellationHandle and call WdCancelRemoteDirectoryEnumeration.
License
This project is licensed under the MIT License - see the LICENSE file for details.
The Remote Windows Development API is also subject to the public GDK EULA as it contains terms covering the telemetry data.
Versioning
This API follows semantic versioning 2.0 (MAJOR.MINOR.PATCH):
- PATCH updates are safe drops in fixes and do not change API contracts or behavior and updating will not require code changes or impact dependencies.
- MINOR updates may introduce new APIs or evolve existing ones in a backward-compatible way; deprecated functionality may be marked but will continue to work, giving you time to migrate. Dependency updates should be reviewed but are expected to remain compatible.
- MAJOR updates indicate intentional breaking changes that may require code or dependency updates; these releases clearly document required migration steps.
You can safely auto-update within the same MAJOR version, while treating MAJOR version changes as opt-in upgrades that should be planned and validated.
Support
For issues and questions, please refer to the official Microsoft documentation.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.2-preview.26.11.9001 | 69 | 11/20/2026 |
| 0.1.2-preview.26.9.9002 | 134 | 9/17/2026 |
| 0.1.2-preview.26.6.23001 | 124 | 6/23/2026 |
| 0.1.1-preview.26.3.27002 | 148 | 4/7/2026 |
| 0.1.0-preview.26.3.6001 | 139 | 3/6/2026 |