runtime.linux-musl-x64.runtime.native.System.IO.Ports 9.0.18

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 the BaseStream 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

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-musl-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.
32
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
31
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
30
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
29
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
28
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
27

https://go.microsoft.com/fwlink/?LinkID=799421

This package has no dependencies.

Version Downloads Last updated
11.0.0-preview.6.26359.118 3 07/18/2026
11.0.0-preview.5.26302.115 3 06/12/2026
11.0.0-preview.4.26230.115 7 05/17/2026
11.0.0-preview.3.26207.106 11 04/24/2026
11.0.0-preview.2.26159.112 14 03/13/2026
11.0.0-preview.1.26104.118 12 02/19/2026
10.0.10 3 07/18/2026
10.0.9 6 06/12/2026
10.0.8 8 05/17/2026
10.0.7 11 04/24/2026
10.0.6 9 04/24/2026
10.0.5 12 03/13/2026
10.0.4 12 03/13/2026
10.0.3 12 02/19/2026
10.0.2 14 01/21/2026
10.0.1 15 12/11/2025
10.0.0 18 12/11/2025
10.0.0-rc.2.25502.107 21 10/27/2025
10.0.0-rc.1.25451.107 25 09/11/2025
10.0.0-preview.7.25380.108 25 09/05/2025
10.0.0-preview.6.25358.103 27 07/30/2025
10.0.0-preview.5.25277.114 29 07/30/2025
10.0.0-preview.4.25258.110 27 05/23/2025
10.0.0-preview.3.25171.5 27 05/23/2025
10.0.0-preview.2.25163.2 28 05/23/2025
10.0.0-preview.1.25080.5 29 02/26/2025
9.0.18 3 07/18/2026
9.0.17 6 06/12/2026
9.0.16 8 05/17/2026
9.0.15 9 04/24/2026
9.0.14 14 03/13/2026
9.0.13 12 02/19/2026
9.0.12 15 01/21/2026
9.0.11 18 12/11/2025
9.0.10 23 10/27/2025
9.0.9 25 09/11/2025
9.0.8 25 08/12/2025
9.0.7 27 07/30/2025
9.0.6 25 07/30/2025
9.0.5 26 05/23/2025
9.0.4 27 04/16/2025
9.0.3 26 05/23/2025
9.0.2 28 02/18/2025
9.0.1 28 02/18/2025
9.0.0 31 11/18/2024
9.0.0-rc.2.24473.5 30 02/18/2025
9.0.0-rc.1.24431.7 30 02/18/2025
9.0.0-preview.7.24405.7 30 02/18/2025
9.0.0-preview.6.24327.7 30 02/18/2025
9.0.0-preview.5.24306.7 30 02/18/2025
9.0.0-preview.4.24266.19 30 02/18/2025
9.0.0-preview.3.24172.9 30 02/18/2025
9.0.0-preview.2.24128.5 30 02/18/2025
9.0.0-preview.1.24080.9 30 02/18/2025