16 references to SafeSerialDeviceHandle
System.IO.Ports (16)
src\libraries\Common\src\Interop\Unix\System.IO.Ports.Native\Interop.Serial.cs (1)
14
internal static partial
SafeSerialDeviceHandle
SerialPortOpen([MarshalAs(UnmanagedType.LPUTF8Str)] string name);
src\libraries\Common\src\Interop\Unix\System.IO.Ports.Native\Interop.Termios.cs (10)
33
internal static partial int TermiosReset(
SafeSerialDeviceHandle
handle, int speed, int data, StopBits stop, Parity parity, Handshake flow);
36
internal static partial int TermiosGetSignal(
SafeSerialDeviceHandle
handle, Signals signal);
39
internal static partial int TermiosGetSignal(
SafeSerialDeviceHandle
handle, Signals signal, int set);
42
internal static partial Signals TermiosGetAllSignals(
SafeSerialDeviceHandle
handle);
45
internal static partial int TermiosSetSpeed(
SafeSerialDeviceHandle
handle, int speed);
48
internal static partial int TermiosGetSpeed(
SafeSerialDeviceHandle
handle);
51
internal static partial int TermiosGetAvailableBytes(
SafeSerialDeviceHandle
handle, [MarshalAs(UnmanagedType.Bool)] bool fromReadBuffer);
54
internal static partial int TermiosDiscard(
SafeSerialDeviceHandle
handle, Queue input);
57
internal static partial int TermiosDrain(
SafeSerialDeviceHandle
handle);
60
internal static partial int TermiosSendBreak(
SafeSerialDeviceHandle
handle, int duration);
System\IO\Ports\SafeSerialDeviceHandle.Unix.cs (2)
19
internal static
SafeSerialDeviceHandle
Open(string portName)
22
SafeSerialDeviceHandle
handle = Interop.Serial.SerialPortOpen(portName);
System\IO\Ports\SerialStream.Unix.cs (3)
23
private
SafeSerialDeviceHandle
_handle;
607
SafeSerialDeviceHandle
tempHandle =
SafeSerialDeviceHandle
.Open(portName);