【发布时间】:2018-01-29 05:48:47
【问题描述】:
我正在寻找可以在 UWP 应用程序中获取串行端口列表的 API。 由于 System.IO.Ports 不适用于 UWP,您能否建议以下代码的任何替代方案。
string[] ports = SerialPort.GetPortNames();
【问题讨论】:
-
你在github上看过这个问题吗? github.com/dotnet/corefx/issues/23294 好像还没实现呢。