SerialPortIsCommPortAvailable(SerialCommPort) Method |
Checks if the serial port is available (It exists and is not busy, opened by another or the same process).
Namespace: ZylSoft.SerialAssembly: ZylSerialPort (in ZylSerialPort.dll) Version: 1.83.8519.34486
Syntax public static bool IsCommPortAvailable(
SerialCommPort port
)
Public Shared Function IsCommPortAvailable (
port As SerialCommPort
) As Boolean
public:
static bool IsCommPortAvailable(
SerialCommPort port
)
static member IsCommPortAvailable :
port : SerialCommPort -> bool
public static boolean IsCommPortAvailable(
SerialCommPort port
)
public static function IsCommPortAvailable(
port : SerialCommPort
) : boolean
ZylSoft.Serial.SerialPort.IsCommPortAvailable = function(port);
STATIC METHOD IsCommPortAvailable(
port AS SerialCommPort
) AS LOGIC
No code example is currently available or this language may not be supported.
Parameters
- port SerialCommPort
- Port name.
Return Value
Booleantrue, if available.
See Also