The Baudrate property gets/sets the current baudrate value. If you haven’t created a virtual serial port before calling this property, it will return “-1” value.

LONG Baudrate;

Note: these port settings are actual untill they are not changed by VSP AX or application, which opened virtual serial port. If these settings are changed, you get a corresponding message (in that case OnBaudrate event). Be carefull, when you are changing this parameter from VSP AX in event body, as you might get into an endless loop.