Share via

About creating virtual COM [C#]

taka 1 Reputation point
2022-08-05T00:59:42.803+00:00

(I'm not good at English. Please excuse my poor English.)

I created a project with "Windows Forms App".
Could you please tell me how to implement the following functions?

--------------------

Place the following two buttons.
・Virtual COM enable button
・Virtual COM disable button

[Processing when "Virtual COM enable button" is pressed.]
"Virtual COM" is added to "Ports (COM & LPT)" of "Device Manager".
This application communicates with another application connected to the "virtual CON".

[Processing when "Virtual COM disable button" is pressed.]
Remove "Virtual COM" from "Device Manager".

-------------------

Thank you.

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.