runtime.linux-bionic-x64.runtime.native.System.IO.Ports 9.0.0
About
System.IO.Ports package provides synchronous serial port file resource. Additionally, the functionality of this class can be wrapped in an internal Stream
object, accessible through the BaseStream
property, and passed to classes that wrap or use streams.
Key Features
- synchronous and event-driven I/O
- access to pin and break states
- access to serial driver properties
- access to
Stream
object through theBaseStream
property
How to Use
using System.IO.Ports;
// Provides list of available serial ports
string[] portNames = SerialPort.GetPortNames();
// First available port
string myPortName = portNames[0];
int baudRate = 9600;
SerialPort sp = new SerialPort(myPortName, baudRate);
sp.Open();
sp.WriteLine("Hello World!");
Main Types
The main type provided by this library is:
SerialPort
Additional Documentation
Related Packages
Feedback & Contributing
System.IO.Ports is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
Showing the top 20 packages that depend on runtime.linux-bionic-x64.runtime.native.System.IO.Ports.
Packages | Downloads |
---|---|
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
|
7 |
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
|
10 |
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
|
12 |
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
|
13 |
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
|
16 |
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
|
17 |
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
|
18 |
https://go.microsoft.com/fwlink/?LinkID=799421
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 3 | 11/26/2024 |
9.0.0-rc.2.24473.5 | 7 | 10/18/2024 |
9.0.0-rc.1.24431.7 | 10 | 09/16/2024 |
9.0.0-preview.7.24405.7 | 10 | 08/16/2024 |
9.0.0-preview.6.24327.7 | 11 | 07/13/2024 |
9.0.0-preview.5.24306.7 | 7 | 06/21/2024 |
9.0.0-preview.4.24266.19 | 8 | 05/27/2024 |
9.0.0-preview.3.24172.9 | 9 | 05/03/2024 |
9.0.0-preview.2.24128.5 | 11 | 03/24/2024 |
9.0.0-preview.1.24080.9 | 8 | 03/24/2024 |