The active communications port.
[Visual Basic]
Public ReadOnly Property PortName As String
[C#]
public string PortName {get;}
PortName can be one of these values:
PortName | PRINTER_ERROR Interpretation |
---|---|
NPCP | ErrorCode contains an NPCP error code. Check NPCP documentation to determine meaning. |
IRDA | ERROR_NOIRDADEVICE: No IRDA device in range. COR_E_IO: Check InnerException for System.IO.IOException. |
Serial | ErrorCode contains the GetLastError of the Win32 function that returned an error. |
WIFI | ErrorCode contains a socket error returned by the system. |