Skip to content

NickyFaulding/NullModemEmulator

Repository files navigation

Null Modem Emulator

.NET wrapper for com0com. Provides interface for the creation of virtual COM ports.

Usage/Examples

using com_emulator;

// Sets the location of the installed instance of com0com. You only need to use this if your install path is different to the one used in the example below.
SetCom0ComPath("C:/Program Files (x86)/com0com");

// Creates a pair of virtual serial ports using COM1 and COM2.
CreateCOMPair("COM1", "COM2");

// Displays a list of the existing port pairs on the system.
GetExistingPortPairs();

// Deletes the port pair with ID: 0. A desired ID can also be passed as a parameter.
DeleteCOMPair();

About

Interfaces with com0com to create virtual serial port pairs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages