runtime.native.System.IO.Ports 9.0.0-rc.1.24431.7

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.native.System.IO.Ports.

Packages Downloads
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort
57
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort
59
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort
65
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort
70
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort
71
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort
73
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort
78
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort
80
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort
85
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort When using NuGet 3.x this package requires at least version 3.4.
57
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort When using NuGet 3.x this package requires at least version 3.4.
61
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort When using NuGet 3.x this package requires at least version 3.4.
64
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort When using NuGet 3.x this package requires at least version 3.4.
65
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort When using NuGet 3.x this package requires at least version 3.4.
72
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort When using NuGet 3.x this package requires at least version 3.4.
78
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort When using NuGet 3.x this package requires at least version 3.4.
82
System.IO.Ports
Provides classes for controlling serial ports. Commonly Used Types: System.IO.Ports.SerialPort When using NuGet 3.x this package requires at least version 3.4.
84

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

Version Downloads Last updated
9.0.0-rc.1.24431.7 4 09/11/2024
9.0.0-preview.7.24405.7 6 08/13/2024
9.0.0-preview.6.24327.7 8 07/12/2024
9.0.0-preview.5.24306.7 8 06/18/2024
9.0.0-preview.4.24266.19 6 05/22/2024
9.0.0-preview.3.24172.9 9 05/22/2024
9.0.0-preview.2.24128.5 12 03/22/2024
9.0.0-preview.1.24080.9 5 03/24/2024
8.0.0 8 11/19/2023
8.0.0-rc.2.23479.6 9 10/22/2023
8.0.0-rc.1.23419.4 6 09/22/2023
8.0.0-preview.7.23375.6 12 09/11/2023
8.0.0-preview.6.23329.7 9 09/20/2023
8.0.0-preview.5.23280.8 9 06/16/2023
8.0.0-preview.4.23259.5 7 06/16/2023
8.0.0-preview.3.23174.8 11 06/16/2023
8.0.0-preview.2.23128.3 11 03/28/2023
8.0.0-preview.1.23110.8 8 03/28/2023
7.0.0 10 01/08/2023
7.0.0-rc.2.22472.3 8 10/16/2022
7.0.0-rc.1.22426.10 15 09/21/2022
7.0.0-preview.7.22375.6 15 09/23/2022
7.0.0-preview.6.22324.4 16 09/24/2022
7.0.0-preview.5.22301.12 12 09/26/2022
7.0.0-preview.4.22229.4 10 10/17/2022
7.0.0-preview.3.22175.4 11 09/27/2022
7.0.0-preview.2.22152.2 12 09/21/2022
7.0.0-preview.1.22076.8 10 09/21/2022
6.0.2-mauipre.1.22102.15 10 09/24/2022
6.0.2-mauipre.1.22054.8 8 09/24/2022
6.0.0 7 09/23/2022
6.0.0-rc.2.21480.5 8 09/25/2022
6.0.0-rc.1.21451.13 8 09/21/2022
6.0.0-preview.7.21377.19 11 09/23/2022
6.0.0-preview.6.21352.12 15 09/22/2022
6.0.0-preview.5.21301.5 13 09/26/2022
6.0.0-preview.4.21253.7 11 10/17/2022
6.0.0-preview.3.21201.4 13 09/25/2022
6.0.0-preview.2.21154.6 8 09/22/2022
6.0.0-preview.1.21102.12 16 09/22/2022
5.0.1 8 09/24/2022
5.0.0 10 09/24/2022
5.0.0-rc.2.20475.5 10 09/24/2022
5.0.0-rc.1.20451.14 12 09/25/2022
5.0.0-preview.8.20407.11 6 10/17/2022
5.0.0-preview.7.20364.11 12 09/23/2022
5.0.0-preview.6.20305.6 10 09/23/2022
5.0.0-preview.5.20278.1 10 09/23/2022
5.0.0-preview.4.20251.6 11 10/17/2022
5.0.0-preview.3.20214.6 12 10/17/2022
4.7.0 11 09/23/2022
4.7.0-preview3.19551.4 9 09/21/2022
4.7.0-preview2.19523.17 13 09/22/2022
4.7.0-preview1.19504.10 15 09/23/2022
4.6.0 11 09/22/2022
4.6.0-rc1.19456.4 15 10/17/2022
4.6.0-preview9.19421.4 14 09/24/2022
4.6.0-preview9.19416.11 14 09/24/2022
4.6.0-preview8.19405.3 14 09/21/2022
4.6.0-preview7.19362.9 14 10/17/2022
4.6.0-preview6.19303.8 13 09/21/2022
4.6.0-preview6.19264.9 9 09/25/2022
4.6.0-preview5.19224.8 11 09/22/2022
4.6.0-preview4.19212.13 9 09/23/2022
4.6.0-preview3.19128.7 18 09/22/2022