.github | ||
assets | ||
Nefarius.Peripherals.SerialPort | ||
PInvokeSerialPort.Sample | ||
PInvokeSerialPort.Test | ||
.editorconfig | ||
.gitignore | ||
appveyor.yml | ||
Directory.Build.props | ||
LICENSE | ||
Nefarius.Peripherals.SerialPort.sln | ||
Nefarius.Peripherals.SerialPort.sln.DotSettings | ||
nuget.config | ||
Package.nuspec | ||
PInvokeSerialPort.vsmdi | ||
ProjectIcon.png | ||
README.md |
Nefarius.Peripherals.SerialPort
Like System.IO.Ports.SerialPort
but actually works 😏
About
Originally copied from John Hind - "Use P/Invoke to Develop a .NET Base Class Library for Serial Device Communications" that I guess licensed under Ms-PL so this project is also under Ms-PL. (Update: well, after the years now I think this was not a true claim, but well I don't think MS will sue anyone because a sample intended for public use)
It is useful in the cases System.IO.Ports.SerialPort is not working well (for connecting to \\.\... devices)
Motivation behind this fork
System.IO.Ports.SerialPort
is terrible and this is exactly what I've experienced in a project so this library came to the rescue.
Download
Consume the NuGet via Install-Package Nefarius.Peripherals.SerialPort