Loading files
namespace System.IO.Ports;
public static class SerialPortExtensions
{
/// <summary>
/// Writes a single character to the serial port.
/// </summary>
/// <param name="character">A character to write on the serial port.</param>
public static void Write(this SerialPort serialPort, char character) => serialPort.Write([character], 0, 1);
}
b346aa224This file is pinned to the selected release. Download the original to open it in your design tool.