在C#中,我怎么能听COM(串口)端口已经打开? [英] In C# how could I listen to a COM (Serial) Port that is already open?
本文介绍了在C#中,我怎么能听COM(串口)端口已经打开?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用的会谈我的COMM端口的程序,但我已经做了我想嗅的通讯端口的信息,并执行它针对除了这些消息用自己的行动另一个程序。在.NET中C#是这可能吗?
I am using a program that talks to my COMM port, but I have made another program that I want to "sniff" the comm port messages and perform it's own actions against those messages in addition. Is this possible in .NET c#?
推荐答案
有F你有兴趣,揭露交通第三方库/工具/产品。
There are third party libraries/tools/products that expose the traffic f you are interested.
下面是一个我用于串行端口仿真 - 但我认为它提供了一些你可以使用:
http://com0com.sourceforge.net/
Here is one I used for serial port emulation - but I think it provides something you can use: http://com0com.sourceforge.net/
这篇关于在C#中,我怎么能听COM(串口)端口已经打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文