How to Check Bulk SMS Indonesia Balance With C#
Using Bulk SMS Indonesia API, you can check your SMS balance in your C# application and make it more convenient for your users to check their SMS balance.
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 C# application and enjoy our SMS services.
Please ensure you have registered yourself with Bulk SMS Indonesia so you can replace the following information inside the script sample below. If you have not registered, click HERE to join.
- Bulk SMS Indonesia Username
- Bulk SMS Indonesia Password
Below is a simple sample code for integrating C# SMS Client to your application.
One of the benefits of using C# is you can multiple types of messages, e.g VCard, Flash SMS, calendars, ringtones and so on.
public partial class frmChkBal : Form
private void frmChkBal_Load(object sender, EventArgs e)
private void btnChkBal_Click(object sender, EventArgs e)
// Create a new 'Uri' object with the specified string.
Uri url = new Uri("http://isms.com.my/isms_balance.php?un=" + txtUser.Text + "&pwd=" + txtPass.Text);
// Create a new request to the above mentioned URL.
WebRequest myweb = WebRequest.Create(url);
// Assign the response object of 'WebRequest' to a 'WebResponse' variable.
WebResponse mywebres = myweb.GetResponse();
StreamReader read = new StreamReader(mywebres.GetResponseStream());
// Read the whole string.
String balance_str = read.ReadToEnd();
// Replacing the label to user balance.
lblGetBal.Text = balance_str;
After you have compiled and run the C# scripts, start by filling in your username and password of your iSMS account. Click "Check Balance" to start checking the balance.
The "Balance" section will retrieve the actual sms balance from the system and display it in the window as shown below.
If you are interested in developing your own application in checking Bulk SMS Indonesia balance with C#, we have provided a demo file for you to download.Download C# Demo File
Other Contact MethodsFor further enquiries, please contact us via the information below:
E-mail | firstname.lastname@example.org
Note to registered users: Please include your Username in the email.