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