【文件属性】:
文件名称:xbox-smartglass-csharp:NET Xbox One SmartGlass协议的.NET Standard客户端库
文件大小:252KB
文件格式:ZIP
更新时间:2021-05-23 14:07:01
xbox nano xbox-one gamestream arcadia
适用于.NET的Xbox One SmartGlass客户端库
从源代码构建
cd xbox-smartglass-sharp
dotnet build
命令行工具
打印用量
dotnet run -p SmartGlass.Cli -- --help
API使用
发现控制台
using SmartGlass ;
IEnumerable < SmartGlass> devices = await SmartGlass . Device . DiscoverAsync ();
foreach ( SmartGlass . Device device in devices )
{
Console . WriteLine ( $" { device . Name } ({ device . HardwareId }) { device . Address } "