Home
RECOMMENDED FOR YOU:
SMS Gateway software
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android

C# SMS API
Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code

PHP SMS API
The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website

SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities

C# SMS API connect

The C# SMS API uses the OZX sms protocol to send and receive SMS messages through the Ozeki 10 SMS Gateway. Thanks to this protocol it is the best SMS API availabile in C#.Net. The C# SMS api has a method called connect, that can be used to establish a permanent connection to the SMS gateawy.

c# sms api connect method
Figure 1 - C# SMS API connect method

For the C#/.Net SMS api to connect to the SMS Gateway use

To connect the C#/.Net SMS api to the SMS gateway you need

  • Host: The IP address or the hostname of Ozeki SMS Gateway. Default: 127.0.0.1
  • Port: The OZX port number of the SMS Gateway. Default: 9580
  • Username: You have created this to let the C#/Net sms api connect. Default: testuser
  • Password: You have created this to let the C#/Net sms api connect. Default: testpass

C# sms api connect example:

var Client = new OzxClient();
Client.AutoReconnect = true;
Client.Connect("127.0.0.1",9580,"testuser","testpass");

If you set the AutoReconnect property to true, the C# SMS api will know, that it should automatically reestablish the connection if the link is lost.

More information