Bulk SMS India
+91 8305781001
support@smsindiahub.in

how-to-develop-VB.net-api-to-send-sms

Multiple API for imaginations without any compromise.

bulk sms contact

How to Develop VB.net API to Send SMS

Imports System
Imports System.IOImports System.Net
Imports System.Text
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object,
ByVal e As System.EventArgs)
Handles Me.Load
Dim sURL As String
Dim objReader As StreamReader
sURL
=”http://cloud.smsindiahub.in/vendorsms/pushsms.aspx?user=” & sUser &“&password=” & sPassword & “&msisdn=” & sNumber & “&sid=”
& sSenderID &
“&msg=” & sMessage & “&fl=0?
Dim sResponse As WebRequest
sResponse = WebRequest.Create(sURL)
Try
Dim objStream As Stream
objStream = sResponse.GetResponse.GetRe
sponseStream()
objReader = New StreamReader(objStream)
Response.Write(objReader.ReadToEnd())
objReader.Close()
Catch ex As Exception
ex.Message
End Try
End Sub
End Class

Note: For Transaction SMS Please add additional Parameter &gwid=2


Note: This is to update you that above code has been supplied to SMSINDIAHUB by clients. As such, accuracy is not guaranteed by SMSINDIAHUB.

bulk sms contact

Our Top Features for Sms Gateway

Unicode Message

Now send your messages in your regional langauage using special characters..

Flash SMS

Get your clients attracted from messages that are directly prompted on the mobile phone screen.

Developers API

Now integrate multiple API with SMPP and HTTP for sending SMS using web and desktop apps.

Scheduled SMS

Send messges to your clients automatically by our scheluling feature if you are not available.

Let’s create effective marketing strategies together