C# SMS API disconnect
To disconnect the C# SMS API from the SMS Gateway, you need to call the Client.Disconnect() method. This will tear down the previously established link you have created with C# SMS client connect method.
The C#/.Net SMS api disconnect method
To disconnect the the C# SMS api client from the SMS gateway you need to call the Disconnect method of the sms client(). If you call this method on a link that is not open, nothing will happen. If you call it on an open link, the C# sms api will tear down the IP sms link between your application and the SMS gateway.
C# sms api disconnect example:
Console.WriteLine("Disconnecting the C# SMS client"); Client.Disconnect();
Note, the disconnect method will stop your C# sms client to send keepalive requests to the server. While the client is disconnected, the SMS gateway will store your incoming messages in the inbox folder. (This is why Ozeki 10 SMS gateway is actually an SMS Server).
More information
- Hvordan man sender SMS fra C#
- Modtag SMS i C#
- C# SMS API tilslut for at sende SMS
- C# SMS API - frakobl fra SMS gateway
- C# SMS API - hold SMS-forbindelsen i live
- C# SMS API - send en tekstbesked
- C# SMS API - SMS accepteret til levering
- C# SMS API - SMS ikke accepteret til levering
- C# SMS API - indsendt
- C# SMS API - indsendelse mislykkedes
- C# SMS API - leveringsrapport succesfuld
- C# SMS API - leveringsrapport mislykkedes
- C# SMS API - alfanumerisk afsender-ID
- C# SMS API hvordan man bruger kortkode som afsender-ID
- C# SMS API tekstbesked klasse