Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Friends,
I want to create Class Lib (DLL) in C# for Serial port communication. This will be consumed from another .net application, once the dll involved; it should be ready to be in listener mode and keep waiting to get input from another device (may be Client). Please help me on this. IF you have any sample project pls share the link to me.

What I have tried:

Tried it but not getting clear picture.
Posted
Updated 6-Feb-20 20:49pm
Comments
Maciej Los 7-Feb-20 2:45am    
"pls share the link to me" - This is not a question!

1 solution

There's a ton of examples on Google[^]!

Here's the one of them: Communicating With Serial Port In C#[^]
All you need to do is to create your own library. See: Build a .NET Standard class library in Visual Studio[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900