SerialPortAPITryVerifyResponse(String, String) Method |
Sends a string of characters via the card's
serial port,
and waits up to the configured
ReadTimeout period for the expected response.
Namespace: RAYLASE.SPICE3.ClientLibAssembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.6.0
Syntax public bool TryVerifyResponse(
string message,
string goodResponse
)
Parameters
- message String
- The message string that should be sent.
- goodResponse String
- The expected response that indicates success.
Return Value
Booleantrue: if the
goodResponse is received,
false: otherwise.
Exceptions Exception | Condition |
---|
TimeoutException | No response received within the configured ReadTimeout period. |
See Also