runtime.linux-bionic-arm64.runtime.native.System.IO.Ports
9.0.0-rc.1.24431.7
Prefix Reserved
See the version list below for details.
dotnet add package runtime.linux-bionic-arm64.runtime.native.System.IO.Ports --version 9.0.0-rc.1.24431.7
NuGet\Install-Package runtime.linux-bionic-arm64.runtime.native.System.IO.Ports -Version 9.0.0-rc.1.24431.7
<PackageReference Include="runtime.linux-bionic-arm64.runtime.native.System.IO.Ports" Version="9.0.0-rc.1.24431.7" />
paket add runtime.linux-bionic-arm64.runtime.native.System.IO.Ports --version 9.0.0-rc.1.24431.7
#r "nuget: runtime.linux-bionic-arm64.runtime.native.System.IO.Ports, 9.0.0-rc.1.24431.7"
// 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.1.24431.7&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.1.24431.7&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 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.
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 |