runtime.linux-musl-x64.runtime.native.System.IO.Ports 11.0.0-rc.2.26504.105

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.
1,791
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
50
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
49
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
48
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
46
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
44
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
43
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
42
runtime.native.System.IO.Ports
Internal implementation package not meant for direct consumption. Please do not reference directly.
41

This package has no dependencies.

Version Downloads Last updated
11.0.0-rc.2.26504.105 5 10/13/2026
11.0.0-rc.1.26425.128 16 09/09/2026
11.0.0-preview.7.26381.103 16 08/13/2026
11.0.0-preview.6.26359.118 21 07/25/2026
11.0.0-preview.5.26302.115 24 06/13/2026
11.0.0-preview.4.26230.115 38 05/14/2026
11.0.0-preview.3.26207.106 28 04/16/2026
11.0.0-preview.2.26159.112 48 03/14/2026
11.0.0-preview.1.26104.118 32 02/12/2026
10.0.13 5 10/13/2026
10.0.12 13 09/09/2026
10.0.11 19 08/13/2026
10.0.10 20 07/25/2026
10.0.9 22 06/13/2026
10.0.8 43 05/14/2026
10.0.7 1,774 04/22/2026
10.0.6 38 04/16/2026
10.0.5 27 03/14/2026
10.0.4 34 03/14/2026
10.0.3 45 02/12/2026
10.0.2 48 01/19/2026
10.0.1 36 12/11/2025
10.0.0 37 12/15/2025
10.0.0-rc.2.25502.107 38 12/15/2025
10.0.0-rc.1.25451.107 28 12/24/2025
10.0.0-preview.7.25380.108 41 12/24/2025
10.0.0-preview.6.25358.103 34 12/15/2025
10.0.0-preview.5.25277.114 39 12/24/2025
10.0.0-preview.4.25258.110 28 12/24/2025
10.0.0-preview.3.25171.5 35 12/11/2025
10.0.0-preview.2.25163.2 39 12/14/2025
10.0.0-preview.1.25080.5 27 12/24/2025
9.0.21 4 10/13/2026
9.0.20 12 09/09/2026
9.0.19 16 08/13/2026
9.0.18 14 07/25/2026
9.0.17 21 06/13/2026
9.0.16 40 05/14/2026
9.0.15 32 04/16/2026
9.0.14 33 03/14/2026
9.0.13 36 02/12/2026
9.0.12 35 01/19/2026
9.0.11 31 12/21/2025
9.0.10 37 12/21/2025
9.0.9 41 12/14/2025
9.0.8 39 12/14/2025
9.0.7 30 12/21/2025
9.0.6 3 10/06/2026
9.0.5 36 12/21/2025
9.0.4 31 12/14/2025
9.0.3 32 12/14/2025
9.0.2 32 12/21/2025
9.0.1 42 12/15/2025
9.0.0 35 12/21/2025
9.0.0-rc.2.24473.5 43 12/15/2025
9.0.0-rc.1.24431.7 28 12/12/2025
9.0.0-preview.7.24405.7 25 12/18/2025
9.0.0-preview.6.24327.7 30 12/15/2025
9.0.0-preview.5.24306.7 28 12/14/2025
9.0.0-preview.4.24266.19 25 12/14/2025
9.0.0-preview.3.24172.9 29 12/24/2025
9.0.0-preview.2.24128.5 32 12/22/2025
9.0.0-preview.1.24080.9 33 12/24/2025