SaslMethodStage Property
Gets or sets the current stage of the authentication protocol exchange.

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public int Stage { get; set; }

Property Value

Type: Int32
The default value is 0.

Some SASL authentication mechanisms require several "server challenge - client request" iterations. In order to keep track of the current stage, you can use this property.

Also, you should update this property value when required by your algorithm. Most algorithms assume incrementing the current stage value each time new answer from the client is ready (i.e. on each CreateNextClientAnswer method call).

See Also