How to programmatically find all available Baudrates in C# (serialPort class)

前端 未结 3 1424
囚心锁ツ
囚心锁ツ 2020-12-10 02:28

Is there a way to find out all the available baud rates that a particular system supports via C#? This is available through Device Manager-->Ports but I want to list these p

3条回答
  •  误落风尘
    2020-12-10 03:17

    I don't think you can.

    I recently had this problem, and ended up hard coding the baud rates I wanted to use.

    MSDN simply states, "The baud rate must be supported by the user's serial driver".

提交回复
热议问题