Platforms to show: All Mac Windows Linux Cross-Platform

WindowsSerialPortsMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows MBS Win Plugin 10.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
This is a class to query the serial ports on a Windows system.
Example
// list the serial ports with their friendly names on Windows
Var ports As New WindowsSerialPortsMBS
Var lines() As String

For i As Integer = 0 To ports.Count - 1
lines.Add ports.FriendlyName(i) + " - " + ports.Description(i)
Next

MessageBox String.FromArray(lines, EndOfLine)

This class was created in response to feedback report 8212: Serial Port Hangup on Windows.

This class has no subclasses.

Blog Entries

Videos

Release notes

Some examples using this class:


The items on this page are in the following plugins: MBS Win Plugin.


WindowsScriptMBS   -   WindowsSharePanelMBS


The biggest plugin in space...