如何MIRACAST是基于P2P连接的,UWP可以通过以下代码获取设备信息: " Windows.Devices.WiFiDirect.WiFiDirectDevice.GetDeviceSelector(),await DeviceInformation.FindAllAsync(                                 RxSelector,                                 new string[] { "System.Devices.ContainerId" }).AsTask(_mainCts.Token);                         string strContainerId = devInfo.Properties["System.Devices.ContainerId"].ToString();                         var deviceObject = await PnpObject.CreateFromIdAsync(PnpObjectType.DeviceContainer,                             devInfo.Properties["System.Devices.ContainerId"].ToString(),                             new string[] { "System.Devices.Connected", "System.Devices.Manufacturer", "System.Devices.ModelName", "System.Devices.ModelNumber" }).AsTask(_mainCts.Token); " 但是如果MIRACAST是基于Ethernet(Miracast over Infrastructure)连接时,我目前没有找到相关的API拿到同样的信息。

您好,


您好,


您好,


不客气,如果随后没有其他问题的话,可以对我的第一条标记是否解决问题并进行星级评级(这对我的工作将会很有帮助),在随后的使用过程中如果遇到新的问题了,也提问.


点赞(71) 打赏

微信小程序

微信扫一扫体验

立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部