Has there been any thought to providing a C# wrapper to the webserial interface? If such a wrapper had an interface similar to System.IO.Ports.SerialPort, then it could make it easier to port desktop apps which interface with real serial port client hardware to WiseJ.
If I wanted to implement this myself, what’d be the best way to go about it? I’ve been looking for a good extension or example of wrapping Javascript. This isn’t for a UI widget or to use in just one control, so would it be more like the client clipboard and client filesystem extensions? Would I be able to use Microsoft.JSInterop to build a wrapper, or does that only work in Blazor?
I’ve logged this as an enhancement request. We’ll consider adding it in a future release.
-Julie
Good proposal. This allow to not use complex hardware infrastructure (serial network converter) on application that need to manage serial device like legacy POS devices.
Please login first to submit.