Please refer to src\Koolwired.Imap\ImapAuthenticate.cs, line #195:
if (result.StartsWith("* OK") || result.Substring(7, 2) == "OK")
7 is the length of "kw1234 " prefix (tag), and I think it should have a meaningful reference.
2 is the length of "OK", which is fine, but you may consider writing "OK".Length as well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please refer to src\Koolwired.Imap\ImapAuthenticate.cs, line #195:
if (result.StartsWith("* OK") || result.Substring(7, 2) == "OK")
7 is the length of "kw1234 " prefix (tag), and I think it should have a meaningful reference.
2 is the length of "OK", which is fine, but you may consider writing "OK".Length as well.