Disconnect Method
Will disconnect from the SMPP service.
Syntax
[VB.NET] Public Sub Disconnect()
[C#] public void Disconnect();
Remarks
This method will send an unbind command and close the socket connection to the SMPPServer. After a unbind operation and socket closing, a Disconnected event will be fired containing the status of the unbind operation.
NOTE: This method has a corresponding asynchronous version (DisconnectAsync) for use in the Xamarin environment.