VB.Net

Send SMS with VB.Net:

If you are planning on vb.net 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.

vb.net SMS messaging with the HTTP API

When 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.

vb.net SMS messaging is one of the services we offer. Use the vb.net SMS script example 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.

Imports System.Net
Imports System.IO
Dim client As WebClient = 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")
Dim baseurl As String = "http://api.clickatell.com/http/sendmsg"
Dim data As Stream = client.OpenRead(baseurl)
Dim reader As StreamReader = New StreamReader(data)
Dim s As String = reader.ReadToEnd()
data.Close()
reader.Close()
Return
 

Please note that some of the above code has been supplied to Clickatell by clients. As such, accuracy is not guaranteed by Clickatell.