A minimalistic, dependency-free, FLOSS C# CLI tool for Windows. It lists all available and occupied serial (COM) ports, including their hardware descriptions and busy status.
- Zero Dependencies: Runs on standard .NET Framework (4.x+) included with Windows.
- Legacy Compatible: Compiles with the native
csc.exeshipped with Windows. - Detailed: Fetches hardware descriptions via WMI.
- Non-Invasive check: Identifies busy ports without resetting hardware (where possible).
No Visual Studio required. Open a terminal and run:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe /target:exe /out:SerialInspector.exe /r:System.Management.dll SerialInspector.cs
Simply run the executable:
.\SerialInspector.exe