Incoming SMS C#

02 Dec

Earlier we have written about Receiving Incoming SMS on PHP page

We have received lot of request for similar code for C# . The process is very simple. We just need your public URL  where we can post your incoming sms parameters through GET method.

You have to write the following code in your Page Load Event.

protected void Page_Load(object sender, EventArgs e)




string mobileNumber = Request[who].Trim();

string message= Request[what].Trim();

// Now you have the incoming sms and senders mobile number. You can write your code to insert the details in your database

Response.Write(“Success”);¬†// You can also change the response message.

Response.End(); // This is required because we do not want any HTML code/tag in your response.


Talk to Expert

Call Now