How to send sms on mobile phone from c#.net windows application while using same "way to sms" or "160by2" login id.
How to make such a code?
Please help me?
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sudhakar ChaudharyRank #1,379 · 1.2K reputationPosted Jan 21, 2013, 11:29 AM EST
{
try
{
HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create("http://ubaid.tk/sms/sms.aspx?uid=" + uid + "&pwd=" + password + "&msg=" + message + "&phone=" + no + "&provider=way2sms");
HttpWebResponse myResp = (HttpWebResponse)myReq.GetResponse();
System.IO.StreamReader respStreamReader = new System.IO.StreamReader(myResp.GetResponseStream());
string responseString = respStreamReader.ReadToEnd();
respStreamReader.Close();
myResp.Close();
MessageBox.Show("Message Send Successfull.", "Successfull", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
}
WebMessage.Send("your login id", "Password", "Message", "Mobile No");
Sachin Hole9 reputationPosted Jan 22, 2013, 9:17 AM EST
Thank you.
Nikunj Kacha18 reputationPosted Jan 22, 2013, 8:59 PM EST
Sudhakar ChaudharyRank #1,379 · 1.2K reputationPosted Jan 24, 2013, 2:01 AM EST
if u want to use any other service like 160by2.com then simply change the provider name 160by2 send method in code..
Nikunj Kacha18 reputationPosted Jan 24, 2013, 3:12 AM EST
aneev reddy2 reputationPosted Feb 4, 2013, 5:42 PM EST