runtime.linux-bionic-arm64.runtime.native.System.IO.Ports 9.0.0-rc.2.24473.5

Prefix Reserved
This is a prerelease version of runtime.linux-bionic-arm64.runtime.native.System.IO.Ports.
There is a newer version of this package available.
See the version list below for details.
dotnet add package runtime.linux-bionic-arm64.runtime.native.System.IO.Ports --version 9.0.0-rc.2.24473.5                
NuGet\Install-Package runtime.linux-bionic-arm64.runtime.native.System.IO.Ports -Version 9.0.0-rc.2.24473.5                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="runtime.linux-bionic-arm64.runtime.native.System.IO.Ports" Version="9.0.0-rc.2.24473.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add runtime.linux-bionic-arm64.runtime.native.System.IO.Ports --version 9.0.0-rc.2.24473.5                
#r "nuget: runtime.linux-bionic-arm64.runtime.native.System.IO.Ports, 9.0.0-rc.2.24473.5"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install runtime.linux-bionic-arm64.runtime.native.System.IO.Ports as a Cake Addin
#addin nuget:?package=runtime.linux-bionic-arm64.runtime.native.System.IO.Ports&version=9.0.0-rc.2.24473.5&prerelease

// Install runtime.linux-bionic-arm64.runtime.native.System.IO.Ports as a Cake Tool
#tool nuget:?package=runtime.linux-bionic-arm64.runtime.native.System.IO.Ports&version=9.0.0-rc.2.24473.5&prerelease                

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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on runtime.linux-bionic-arm64.runtime.native.System.IO.Ports:

Package Downloads
runtime.native.System.IO.Ports

Internal implementation package not meant for direct consumption. Please do not reference directly.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.0.0 8,251 11/12/2024
9.0.0-rc.2.24473.5 15,758 10/8/2024
9.0.0-rc.1.24431.7 7,993 9/10/2024
9.0.0-preview.7.24405.7 6,553 8/13/2024
9.0.0-preview.6.24327.7 12,176 7/9/2024
9.0.0-preview.5.24306.7 6,324 6/11/2024
9.0.0-preview.4.24266.19 3,256 5/21/2024
9.0.0-preview.3.24172.9 8,238 4/11/2024
9.0.0-preview.2.24128.5 15,290 3/12/2024
9.0.0-preview.1.24080.9 10,591 2/13/2024