Why the method getCurrentOwner() of Class CommPortIdentifier is null?

前端 未结 0 592
长情又很酷
长情又很酷 2021-02-01 05:47

On my PC,there are two serial com port named COM1/COM2.When I use the method getCurrentOwner() of the Class CommPortIdentifier is null.The code is below.

Enumerat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题