Update function TryLoginAsync with Regex terminator string
crazy9x256 opened this issue · comments
DzungLC commented
Hi team,
I am using Telnet for login to multi vendor device, each vendor has one generic terminator string, default value terminator is ">". So Client.TryLoginAsync return fail with terminator start with "#".
Thanks you ./
9swampy commented
TryLogin is just a convenience, if the "standard" doesn't work for your unit just long hand the correct implementation for your own device.
TerminatedRead & WriteLine with whatever terminators/linefeeds your device expects.