Sending SMS basics using C# class
RoutoMessaging provides you with sms gateway integration tools as ready-made scripts available to help you managing connection to our SMS gateway over your chosen programming language. These scripts as developer solution all work with the HTTP application. Join us now and get 10 SMS to test our SMS Gateway service.
Use the C# Language code sample bellow to send sms trough RoutoMessaging SMS Gateway. Register for an HTTP API account and you will immediately receive 10 test messages to try our service.
Send SMS with C# Language:
protected void Page_Load(object sender, EventArgs e)
{
{
string number = Request.QueryString["number"];
string message = Request.QueryString["message"];
RoutoSMSTelecom routo = new RoutoSMSTelecom();
routo.SetUser("your_username");
routo.SetPass("your_password");
routo.SetNumber("44791212121212");
routo.SetOwnNumber("44792838383838");
routo.SetType("SMS");
routo.SetMessage(message);
string header = routo.Send();
sms.InnerText = header;
}string message = Request.QueryString["message"];
RoutoSMSTelecom routo = new RoutoSMSTelecom();
routo.SetUser("your_username");
routo.SetPass("your_password");
routo.SetNumber("44791212121212");
routo.SetOwnNumber("44792838383838");
routo.SetType("SMS");
routo.SetMessage(message);
string header = routo.Send();
sms.InnerText = header;
© 2010 Routo Telecommunications Ltd.


