Steps to Check Bulk SMS Indonesia Balance With VB.net
If you are planning to send SMS and check SMS balance via your VB.net application, bulk SMS Indonesia provides a suitable platform for you to implement it.
To understand more about our Bulk SMS Indonesia API Key features, please visit our Developer API page.
All available features and configurations will be displayed at the Bulk SMS Indonesia Developer API page. Integrate our Check SMS Balance feature into your VB.NET application and enjoy our SMS services.
Please click below to find out about our send SMS API in other programming languages.
When compiling the VB.net application, please make sure your Bulk SMS Indonesia username and password is correct. You can register for a FREE Bulk SMS Indonesia account HERE. Join us today!
After compiling your application, the balance credit available in your Bulk SMS Indonesia account will be returned to you as string.
Imports System.Text
Public Function getBalance(ByVal iSMSusername As String, ByVal iSMSpassword As String) As String
Dim url As New System.Uri("http://www.isms.com.my/isms_balance.php?un=" + iSMSusername + "&pwd=" + iSMSpassword)
Dim req As System.Net.WebRequest
req = System.Net.WebRequest.Create(url)
Dim resp As System.Net.WebResponse
Try
resp = req.GetResponse()
Dim reader As StreamReader = New StreamReader(resp.GetResponseStream())
Dim balance_str As String = Trim(Strip(reader.ReadToEnd().Trim()))
resp.Close()
req = Nothing
Return balance_str
Catch ex As Exception
req = Nothing
Return ""
End Try
Return False
End Function
Download Demo Files
Other Contact Methods
For further enquiries, please contact us via the information below:E-mail | sales@mobiweb.com.my
Note to registered users: Please include your Username in the email.
Phone Numbers:
|