Nefarius.Peripherals.Serial.../README.md

21 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2024-06-12 14:11:19 +02:00
# <img src="assets/NSS-128x128.png" align="left" />Nefarius.Peripherals.SerialPort
2012-03-03 11:19:04 +01:00
2024-07-13 15:37:19 +02:00
![NuGet Version](https://img.shields.io/nuget/v/Nefarius.Peripherals.SerialPort)
![NuGet Downloads](https://img.shields.io/nuget/dt/Nefarius.Peripherals.SerialPort)
2022-09-26 23:53:35 +02:00
Like `System.IO.Ports.SerialPort` but actually works 😏
2022-09-26 23:53:14 +02:00
2019-12-29 16:56:12 +01:00
## About
Originally copied from [John Hind - "Use P/Invoke to Develop a .NET Base Class Library for Serial Device Communications"](http://msdn.microsoft.com/en-us/magazine/cc301786.aspx) 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)
2012-03-03 18:43:02 +01:00
2017-03-03 18:48:30 +01:00
It is useful in the cases System.IO.Ports.SerialPort is not working well (for connecting to \\\\.\\... devices)
2017-03-03 18:47:21 +01:00
2019-12-29 16:56:12 +01:00
## Motivation behind this fork
`System.IO.Ports.SerialPort` is terrible and [this is exactly what I've experienced in a project](https://www.sparxeng.com/blog/software/must-use-net-system-io-ports-serialport) so this library came to the rescue.
## Download
2022-09-26 23:53:14 +02:00
Consume the NuGet via `Install-Package Nefarius.Peripherals.SerialPort`