runtime.native.System.IO.Ports 9.0.0
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.
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
|
65 |
System.IO.Ports
Provides classes for controlling serial ports.
Commonly Used Types:
System.IO.Ports.SerialPort
|
75 |
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
|
79 |
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
|
86 |
System.IO.Ports
Provides classes for controlling serial ports.
Commonly Used Types:
System.IO.Ports.SerialPort
|
88 |
System.IO.Ports
Provides classes for controlling serial ports.
Commonly Used Types:
System.IO.Ports.SerialPort
|
90 |
System.IO.Ports
Provides classes for controlling serial ports.
Commonly Used Types:
System.IO.Ports.SerialPort
|
95 |
System.IO.Ports
Provides classes for controlling serial ports.
Commonly Used Types:
System.IO.Ports.SerialPort
|
100 |
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.
|
68 |
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.
|
71 |
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.
|
73 |
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.
|
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.
|
89 |
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.
|
92 |
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.
|
96 |
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.
|
98 |
https://go.microsoft.com/fwlink/?LinkID=799421
.NET Standard 2.0
- runtime.android-arm.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.osx-x64.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.osx-arm64.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.maccatalyst-x64.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.maccatalyst-arm64.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.linux-x64.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.linux-musl-x64.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.linux-musl-arm64.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.linux-musl-arm.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.linux-bionic-x64.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.linux-bionic-arm64.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.linux-arm64.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.linux-arm.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.android-x86.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.android-x64.runtime.native.System.IO.Ports (>= 9.0.0)
- runtime.android-arm64.runtime.native.System.IO.Ports (>= 9.0.0)