Resetting Message Sequence Numbers
The Session class exposes the ResetLocalSequenceNumbers() method to reset both incoming and outgoing message sequence numbers to 1
and back up the previous log files.
Note
The ResetLocalSequenceNumbers() method can be called only when the session is disconnected.