Start sending SMS now
Reliable, scalable and customizable, Developers’ Central integrates with your systems and applications via our wide variety of APIs.Try Developers' Central now
& get 10 free test messages
Send SMS with C#
If you are planning on C# SMS messaging, it makes sense to use the largest SMS Gateway in the world.
Clickatell's global footprint means that it can deliver short message services (SMS) through it’s next-generation Clickatell Message eXchange (CMneXt) to over 960 mobile networks in over 220 countries and territories, with the potential to reach 6 billion mobile phone users - more than 80 percent of the world’s population. In addition, with Clickatell Transaction eXchange (CTX), it provides the essential link between mobile consumers and their financial institution, with services like airtime top-up.
More than 13,000 enterprise, government, medium and small business customers and application developers have embraced Clickatell’s technology solutions.
C# SMS messaging with the HTTP APIWhen developers search for an SMS Gateway, one of the reasons they turn to us is our wide selection of APIs. These include the HTTP/S API, FTP API, SOAP API, SMPP API, XML API, SMTP API and COM Object. Fast, simple, reliable and built in such a way that they integrate with any system or application, all our APIs allow developers to create applications offering businesses online international SMS services, all supported by our reliable bulk SMS Gateway.
C# SMS messaging is one of the services we offer. Use the C# SMS script code below to send SMS via Developers’ Central. Simply register for an HTTP API account, and you will automatically receive 10 FREE SMS credits to try our service.
Example of C# code script to send via our SMS gateway
using System.Net; using System.IO; WebClient client = new WebClient (); // Add a user agent header in case the requested URI contains a
query. client.Headers.Add ("user-agent", "Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)"); client.QueryString.Add("user", "xxxx"); client.QueryString.Add("password", "xxxx"); client.QueryString.Add("api_id", "xxxx"); client.QueryString.Add("to", "xxxx"); client.QueryString.Add("text", "This is an example message"); string baseurl ="http://api.clickatell.com/http/sendmsg"; Stream data = client.OpenRead(baseurl); StreamReader reader = new StreamReader (data); string s = reader.ReadToEnd (); data.Close (); reader.Close (); return (s);
Please note that some of the above code has been supplied to Clickatell by clients. As such, accuracy is not guaranteed by Clickatell.