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
- Jak odeslat SMS z C#
- Příjem SMS v C#
- C# SMS API připojení pro odesílání SMS
- C# SMS API - odpojení od SMS brány
- C# SMS API - udržování SMS připojení
- C# SMS API - odeslání textové zprávy
- C# SMS API - SMS přijata k doručení
- C# SMS API - SMS nepřijata k doručení
- C# SMS API - odesláno
- C# SMS API - odeslání selhalo
- C# SMS API - úspěšná doručovací zpráva
- C# SMS API - zpráva o selhání doručení
- C# SMS API - alfanumerické ID odesílatele
- C# SMS API - jak použít krátký kód jako ID odesílatele
- C# SMS API třída textové zprávy