Description: you can send free sms by using way2sms gateway
from your .Net Application. Here, Just you need to give your login credentials
of way2sms.com from your app.
Implementation:
Step 1: Design you UI based on your requirement. Here for
your reference I took two input
textbox’s and which one is for accepting mobile number and another one
is for message.
Step 2: Go to code window and define 4 local variables of
string type, which are username,Password,Message and Mobile number.
Step 3: Now Download way2sms dll file from source click here. And save it
into your local drive.
Step4: open your project and select Add Reference in
Solution Explorer and select browse option and select smsClient.dll file
Step5 : Go to your code and write following code in button
click event.
SendSms
newSms = new SendSms();
string
status = string.Empty;
status =
newSms.send(userName, passWord, txtMsg.Text, txtMobileNo.Text);
if (status == "1")
{
lblResult.Text = "Message sent successfully";
}
else
lblResult.Text =
status;
Step 6: send() of SendSms class is required 4parameters as
follows,
public string send(string
uid, string password, string
message, string no);
Step 7 : Now you can enjoy to send SMS. and you can find full source code here

