开发者

Need to use COMM port 2 to get information from a device. .NET doesnt support it though

I am writing 开发者_StackOverflow社区a VB.NET app that has a piece which needs to send a small command to COM port 2 and get the return result. The problem is .NET doesnt have any support for serial communication seems like. Please help.

I just need to send the command "headtype" and get the result.


It certainly does, System.IO.Ports.SerialPort, available since .NET 2.0


Take a look at the SerialPort class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜