Search the manual:

Overview Quick start Download Manual How to buy FAQ Contact Us
OZEKI NG SMS Gateway - Product Guide

C Sharp SMS API Contents | Searchlogin

Home > Product Manual > Developers Guide > C Sharp SMS API > SMS API functions

SMS Gateway SMS Gateway Home

  Product Manual
  Introduction
  SMS technology
  Installation Guide
  User Guide
  Developers Guide
  Tutorials
  ASP SMS API
  PHP SMS API
  HTTP SMS API
  SQL SMS API
  C Sharp SMS API
  SMS API functions
  login
  logout
  Send SMS message
  log
  keepalive
  SMS delivered to network
  SMS delivery report
  SMS delivery failed
  SMS received
  C sharp and MS SQL Server
  Registering remote objects
  C Sharp SMS Gateway
  AJAX SMS API
  Delphi SMS API
  Cpp SMS API
  Java SMS API
  VB.NET SMS API
  Python SMS API
  Perl SMS API
  TCL/TK SMS API
  Coldfusion SMS API
  VB 6 SMS API
  Examples and Solutions
  Appendix
  FAQ
  Feature list
  Commercial Information
  Search
 



Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.


Callcenter developers
If you are working on telephone solutions, please check out the Ozeki VoIP SIP SDK.
It can be used to create:

Webphone solutions:
- Adobe Flash video phone
- Silverlight video phone
- Web to web calls
- Web to VoIP calls

Custom SIP clients:
- Silverlight SIP VoIP client
- Flash SIP VoIP client
- C# .net SIP VoIP client
- ASP .net SIP VoIP client
- Web based SIP VoIP client

Custom VoIP solutions:
- VoIP SIP softphones
- VoIP call center clients
- VoIP IVR systems
- VoIP predictive dialer systems
- VoIP auto dialer systems
- VoIP call assistant
- VoIP call recording systems
- VoIP intercom solutions

C# SMS API class members


The C# SMS API class is called SMSClient. It contains methods that allow you to log into the SMS Gateway and to send and receive SMS messages. The following table lists the members of this class.

C# SMS API methods

     Name Description
login Use this function to log into the SMS Gateway with your username and password. (To obtain a username and a password you should open the Management Console as admin and create a standard user.)
logout Call this function to logout from the SMS Gateway. This function frees resources in the server, so it is recommended to use it. (Note: if you do not call this function the server will free resources after a period of inactivity)
sendMessage You can use this function to post an SMS to the SMS Gateway. The gateway will return a message id, and later it will notify you application about when the message was delivered to the network and when the message was delivered to the handset. You can use this function to post text messages or binary messages, such as WAP Push, Oplogos, Ringtones, etc.
log You can use this function to write a log entry on the server into the logfile belonging to the logged in user.
keepAlive Usually you will not use this function. However it is available if you wish to "ping" the server. Keepalive can be used to detect if the server is available or not.
Renewal This function is used by .NET remoting to manage object lifetimes. You do not need to use this function.

C# SMS API events

     Name Description
onMessageDeliveredToNetwork This event is invoked by the SMS Gateway when the SMS message was accepted by the mobile network for delivery.
onMessageDeliveredToHandset This event is invoked by the SMS Gateway when the SMS message was delivered to the recipient handset. This event can happen later then the onMessageDeliveredToNetwork event, because it is possible that the destination mobile handset is out of network coverage or is switched off for some time.
onMessageDeliveryFailed This event is invoked by the SMS Gateway if the message cannot be delivered. This can happen if the mobile network operator does not accept the message for example because the destination number is invalid, or there is not enough money in the account. This event is also invoked if the mobile network operator has accepted the message for delivery but the destination handset was never switched on so delivery became impossible.
onMessageReceived This event is invoked by the SMS Gateway if a mobile originated message is received.


Dig deeper!
People who read this also read...





Next page: login
Copyright © 2000 - 2013 Ozeki Informatics Ltd.
All rights reserved

Software PBX for Windows | VoIP SDK   |   Legal information   |   Privacy policy   |   Terms of use
Please, address your inquiries to info@ozekisms.com