NullModemEmulator
NullModemEmulator copied to clipboard
NullModemEmulatorManager manager = new() ,report errors
error message: System.IO.DirectoryNotFoundException:“Attempted to access a path that is not on the disk.” initiate: NullModemEmulatorManager manager = new();
program context :NET6 windows:windows10
You should install com0com first.
May be you run program as administrator.
Or you can initial manager with com0com path that setupc.exe in.
NullModemEmulatorManager manager = new(@"C:\Program Files (x86)\com0com");