Interested with Bulk SMS Singapore? Contact Us HERE

Check SMS Balance With C#

Home / Check SMS Balance With C#

How to Check Bulk SMS Singapore Balance With C#

Using Bulk SMS Singapore 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 Singapore API Key features, please visit our Developer API page.

All available features and configurations will be displayed at the Bulk SMS Singapore Developer API page. Integrate our SMS API into your C# application and enjoy our SMS services.

Please click below to find out about check SMS balance SMS API in other programming languages.

Download C# Demo File

Please ensure you have registered yourself with Bulk SMS Singapore so you can replace the following information inside the script sample below. If you have not registered, click HERE to join.

  1. Bulk SMS Singapore Username
  2. Bulk SMS Singapore 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.

using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Net;
using System.Windows.Forms;
using System.IO;
using Microsoft.VisualBasic;

namespace WindowsFormsApplication2
{
public partial class frmChkBal : Form
{
public frmChkBal()
{
InitializeComponent();
}

private void frmChkBal_Load(object sender, EventArgs e)
{
this.txtUser.Select();
}

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.

How to send sms with c sharp

The "Balance" section will retrieve the actual sms balance from the system and display it in the window as shown below.

How to send sms with c sharp

If you are interested in developing your own application in checking Bulk SMS Singapore balance with C#, we have provided a demo file for you to download.

Download C# Demo File

Contact Bulk SMS Singapore

If you need further information, please contact us via the information below:

E-mail | sales@mobiweb.com.my
Note to registered users: Please include your Username in the email.

If operators are busy, please call the next number below.

Phone Numbers:
  • +65 8301 0483 (Singapore)
  • +66 2026 0321 (Thailand)
  • +63 9212 358008 (Philippines)
  • +612 8310 5560 (Australia)
  • +604 642 0621 (Penang, Malaysia)
  • +603-2780 3880 (Line 1 Kuala Lumpur, Malaysia)
  • +603 7980 1388 (Line 2 Kuala Lumpur, Malaysia)
  • +6017 511 8885 (Johor Bahru, Malaysia)
  • 1800 87 7061 (Malaysia Toll Free)
  Fax:
  • +604-6468367 (Penang, Malaysia)
  • +603-79802388 (Kuala Lumpur, Malaysia)

Register iSMS For FREE !

  • Register Bulk SMS Singapore Account
  • Request Bulk SMS Demo Pin &
    get FREE 10 Demo Credits
  • Purchase Bulk SMS Credits
  • Reload Bulk SMS Credits

Click HERE to Register !