Here I'm showing you how to send SMS using your C# .Net Application. Please use the following instructions and you are ready to go within 8-10 minutes.
Here some requirements for this application:
- Active Internet connection
- Download the SMSClient DLL (Here)
- Visual Studio 10 (Visual Studio 2010) or above (the SMSClient DLL works only in Visual Studio 10 or above)
- .Net 4.0 or above
Now here are some easy steps to follow.
- Create a new C# Windows Application

- Design your application page something like this:

- Now add a reference for the SMS Client Dll, as in:
Projects -> Add reference -> Browse -> select your SMS client DLL

- Now put the following code in your "Send" buttons Click Event
First of all add a "using" for the smsclient dll, as in:
Now use this code to send the sms and check the internet status and whether users exist.- using SmsClient;
- SendSms sms = new SendSms();
- string status = sms.send(textBox1.Text, textBox2.Text, textBox3.Text, textBox4.Text);
- if (status == "1")
- {
- MessageBox.Show("Message Send");
- }
- else if (status == "2")
- {
- MessageBox.Show("No Internet Connection");
- }
- else
- {
- MessageBox.Show("Invalid Login Or No Internet Connection");
- }
- Now run your application and enjoy
- This application works as a charm, but it has some drawbacks which I described below:

Walter VasquezPosted Nov 23, 2017, 5:58 PM
Sr. please send me , user and password , [email protected]
Rahul AnandPosted Jun 8, 2017, 2:30 AM
Sir, i can't send the sms, it says "No Internet Connection"...pls help me to solve that issue... [email protected] ..this is my email id.. Thanks in advance..
Kamran KhanPosted Dec 14, 2016, 12:46 PM
I am also facing same error send solution at [email protected]
Bhuvanesh MohankumarPosted Jul 25, 2016, 4:28 AM
Useful Thanks
Ashish GuptaPosted Apr 25, 2016, 9:01 AM
I am also facing the same problem "No Internet Connection". I think dll is corrupt
Sankar VelusamyPosted Mar 1, 2016, 3:43 AM
also tried the getting this " No Internet Connection". what can i do for run this application. pls send us [email protected]
Anand ReddyPosted Feb 26, 2016, 7:11 PM
I try having msg " No Internet Connection". what can i do for run this application. pls send us [email protected]
Pravin MotePosted Feb 1, 2016, 1:36 AM
I try having msg " No Internet Connection". what can i do for run this application. pls send us [email protected]
Former memberPosted Nov 29, 2015, 10:52 AM
iam also same problem
Former memberPosted Nov 29, 2015, 10:51 AM
I am also getting the same ptoblem. Please solve at the earliest.
swati pawarPosted Aug 31, 2015, 7:46 AM
I am also getting the same ptoblem. Please solve at the earliest.
honest rajPosted Aug 28, 2015, 5:49 AM
i am also facing the same problem what can i do
Vaidhya PPosted Aug 8, 2015, 6:46 AM
Even i am facing the same problem. tried so many methods
Prabin DasPosted Aug 1, 2015, 1:18 AM
I am also facing the same problem that "No Internet Connection"...
Amrendra GuptaPosted Jun 18, 2015, 10:59 AM
No internet connection message is reflecting. Net is working properly
surendara babu aPosted Apr 19, 2015, 1:22 PM
i try having msg " No Internet Connection". what can i do for run this application. pls send us [email protected]
radhika patelPosted Mar 30, 2015, 10:37 AM
I am also having same problem "No internet connection ". Please send the source code to my ID [email protected]
roopa reddyPosted Oct 18, 2014, 5:07 AM
I'm also getting the same same error as above ....."No Internet Connection...." but the net is connected please tell me if there is any other way [email protected]
Saurabh TripathiPosted Oct 4, 2014, 1:34 AM
Shivam Pandya ji tell me why ***"No Internet Connection"*** in below Reply
Saurabh TripathiPosted Oct 4, 2014, 1:31 AM
but each time show------>"No Internet Connection"
Saurabh TripathiPosted Oct 4, 2014, 1:30 AM
sms.send(textBox1.Text(Login ID/Phon No.), textBox2.Text(Login Pwd), textBox3.Text(message), textBox3.Text(Send to Phone No.));
Pranita GuptaPosted Sep 24, 2014, 3:24 AM
i m also getting the same same error as above ....."No Internet Connection...." but the net is connected...plz tell me some other way foe [email protected]..
Rajendra KokarePosted Sep 1, 2014, 7:44 AM
hello sir i am getting the Error no Internet Connection , so please give me solution or send on my mail latest .dll file, my mail id is - [email protected] thank in advance,i am waiting your's rply...
Sagar AhujaPosted Aug 13, 2014, 2:26 PM
Sir can I send a SMS containing more than 160 characters in the text? If yes then kindly let me know how many maximum number of characters are supported?
Choujoun BououniPosted May 12, 2014, 9:23 AM
[email protected]
Choujoun BououniPosted May 12, 2014, 9:22 AM
I can't download it please any one can send me the dll file and the sourcecode please
akash chowdaryPosted May 9, 2014, 1:19 AM
I am getting error as no internet connection though i posses internet connection some one please help me my email id is [email protected]
VIKAS LOHIYAPosted Mar 30, 2014, 3:50 PM
thank you for dll file
kunal wadkarPosted Mar 13, 2014, 11:49 AM
"not internet connection"
dipak shahPosted Oct 5, 2013, 1:26 AM
invlid login or no internet conneions error occured
majid khanPosted Sep 24, 2013, 5:46 AM
how to send multi sms in c# WPF
nagababu sPosted Aug 13, 2013, 7:16 AM
Sir this code in not working Return only -11 so what can i do plz sugeest me and send me solution to my mail id [email protected].
Sudipta Kumar DasPosted Jun 27, 2013, 2:13 AM
I getting same error
kamran siddiquePosted Jun 6, 2013, 10:08 AM
I am also getting error "Invalid User Name Or Password" send me solution to my mail id [email protected]
Murad MahmudPosted May 1, 2013, 12:21 PM
How tom use in Banglades
Muthu PandiPosted Apr 16, 2013, 5:25 AM
Getting Error Msg Like " Invalid Log in Error" How to resolve it?
Muthu PandiPosted Apr 16, 2013, 5:25 AM
Getting Error Msg Like " Invalid Log in Error" How to resolve it?
brijesh prajapatiPosted Apr 12, 2013, 3:00 AM
Sir this code in not working Return only -11 so what can i do plz sugeest me
Ponmani KannanPosted Apr 4, 2013, 2:00 PM
same invalid login error
Ponmani KannanPosted Apr 4, 2013, 2:00 PM
same invalid login error
sree kannanPosted Mar 23, 2013, 5:53 AM
I am also getting same error "invalid login" please send the solution to my mail id [email protected]
sree kannanPosted Mar 23, 2013, 5:53 AM
I am also getting same error "invalid login" please send the solution to my mail id [email protected]
Lata TolaniPosted Mar 12, 2013, 1:02 AM
Getting the error: Invalid Login Or No Internet Connection though both are correct! Please send the rectified answer at [email protected]
madhupriya israniPosted Mar 8, 2013, 11:40 AM
Getting the error: Invalid Login Or No Internet Connection though both are correct! Please send the rectified answer at [email protected]
Amey BhandariPosted Feb 26, 2013, 2:36 PM
send the solution for error "no internet connection" thought it is connected to internet .send to [email protected]
Amey BhandariPosted Feb 26, 2013, 2:33 PM
error comes as "no internet connection" thought it is connected to internet so what is problem in code
Amey BhandariPosted Feb 26, 2013, 2:33 PM
error comes as "no internet connection" thought it is connected to internet so what is problem in code
Sri Harsha hPosted Feb 3, 2013, 5:53 AM
Hello When I try to execute this, it is showing "No overload for method 'send' takes 4 arguments"
Dipak JayswalPosted Jan 24, 2013, 2:22 AM
i was try this code but i got message box text Invalid Login Or No Internet Connection i was many time try to send message but this error is accure.when i go to way2sms website and used this same phone no and pass so i can login in website.so plz suggests me what's i do to remove this error.?
Dipak JayswalPosted Jan 24, 2013, 2:21 AM
i was try this code but i got message box text Invalid Login Or No Internet Connection i was many time try to send message but this error is accure.when i go to way2sms website and used this same phone no and pass so i can login in website.so plz suggests me what's i do to remove this error.?
Dipak JayswalPosted Jan 24, 2013, 2:21 AM
i was try this code but i got message box text Invalid Login Or No Internet Connection i was many time try to send message but this error is accure.when i go to way2sms website and used this same phone no and pass so i can login in website.so plz suggests me what's i do to remove this error.?
kinjal patelPosted Jan 14, 2013, 2:34 AM
is it same as whats app application
Shivam PandyaPosted Jan 9, 2013, 4:00 AM
To SIVA, Yes, It Is Possible, if you use your own sms gateway. My Article on it, posted shortly. you can stay in touch with it. :)
Shivam PandyaPosted Jan 9, 2013, 3:58 AM
To Bhaveshvirani Please Verify is that receivers SIM active in DND Services? If Yes then He/She not able to get message
bhaveshvirani viranieditedPosted Jan 8, 2013, 4:20 AMEdited Jan 8, 2013, 5:29 AM
only one time send sms on any no what is problem???
bhaveshvirani viraniPosted Jan 8, 2013, 4:19 AM
i was messageBOX 'Message Send' but Message was not Receive what Problem ??
SIVAPosted Jan 3, 2013, 10:34 AM
Hi Shivam Pandya, You have done good job. Can't i send sms without way2sms r something else. Like i want to send sms directly without login when i say send.
raghu nandaneditedPosted Jan 2, 2013, 7:28 AMEdited Jan 2, 2013, 7:29 AM
I have followed instructions as mentioned in the article but still i get the status '2' which is showing 'no internet connection '
Shivam PandyaPosted Dec 31, 2012, 11:21 PM
To vijay krish, Its maybe because on 31st DEC and 1-JAN SMS Traffic heavy. you have to try after 1st JAN 2013.
Shivam PandyaPosted Dec 31, 2012, 11:20 PM
To Mahesh Chand, SMSClient.DLL is a digital library which provide by sms getaway provider such as way2sms. And There is no licence required. its available online.
vijay krisheditedPosted Dec 31, 2012, 1:33 AMEdited Dec 31, 2012, 1:57 AM
sir..m using this smsclient.dll in the project...it has worked till yesterday...bt today it is giving error no internet connection ...but my internet is working properly ....all sites are opening ..even way2sms is also working...bt this causing error......sir plz help me ...its urgent....thanx in advance
vijay krishPosted Dec 31, 2012, 1:14 AM
sir..m using this smsclient.dll in the project...it has worked till yesterday...bt today it is giving error no internet connection ...sir plz help me ...its urgent....thanx in advance
Mahesh ChandPosted Dec 28, 2012, 10:18 AM
Shivam, What is SMSClient.dll? Where did you get it from? The question is, if you purchased it from a company, don't you need a license?
Vithal WadjePosted Dec 26, 2012, 3:50 AM
Please sir delete this article or improve it
Pankaj SharmaPosted Dec 26, 2012, 2:39 AM
invalid login or no internet connection Pls help
mandar parkarPosted Dec 21, 2012, 8:56 AM
hi, i create this app ,it work properly on first time ,but give an error afterword that is : invalid login or no internet connection ,i check way2sms password it open my account properly but still app give same error plz help me,u can email me on mandarparkar92 @ gmail dot com remove all space and dot with (.) thanx plz reply quick
Shivam PandyaPosted Dec 20, 2012, 2:30 AM
Hi Arjun Singh Can you mail me code, your system configuration and internet status?
Arjun SingheditedPosted Dec 20, 2012, 1:21 AMEdited Dec 20, 2012, 1:25 AM
Code not working ,Showing invalid name or no connection. Please help solve my problem.
Shivam PandyaPosted Dec 15, 2012, 11:50 PM
To, kinjal patel I Send you an Email Please check it and reply as per your need and Error for farther help
kinjal patelPosted Dec 14, 2012, 5:41 AM
i m trying but it will not working plz help me you post code or any keys send my email [email protected]
kinjal patelPosted Dec 14, 2012, 5:31 AM
its not working if i m sending to phode plz send your feedback.
jnanesh kumareditedPosted Dec 6, 2012, 1:45 AMEdited Dec 6, 2012, 1:47 AM
its working perfect shivam pandey..:)
PRABHU SUCCESSPosted Dec 3, 2012, 8:59 PM
hi friend .. how to send group sms
Shivam PandyaPosted Nov 19, 2012, 1:10 AM
You have to use your existing way2sms username and password for it. in sms.send() use sms.send("username","password","smsbody","receiver's No.");
Sukumar MohanPosted Nov 7, 2012, 6:12 AM
Hea, Can you pls Tell me how to give username and password in sms.Send() function. Pls Tell which username and password.
Shivam PandyaPosted Nov 7, 2012, 12:04 AM
You can download SMS Client DLL from my Resources. Please check it from my profile. @Vithal Wadje, If its not working, please Email me your query @ [email protected]. Thank you.
Vithal WadjePosted Nov 2, 2012, 8:41 AM
no sathya sir ,its not valid code then how your application is running
sathya kumarPosted Nov 2, 2012, 7:43 AM
Ya its work fine for me. Thanks a lot.
raj tPosted Nov 2, 2012, 3:39 AM
this is not working when i try to send msg to mobile, status=='1' is worked but i cann't receive msg from mobile. here what can i do...
Vithal WadjePosted Nov 2, 2012, 12:15 AM
not working
mohan kumarPosted Oct 29, 2012, 8:30 AM
It's nice..But how do i get SMS Client DLL file? Where it will be available?
Shivam PandyaPosted Oct 18, 2012, 7:03 AM
I'm Also looking for that. When i done R&D on it. I Post it here and you can go through that. Thank you
R ACHUTHAPosted Oct 15, 2012, 2:19 PM
Thank you, is there any way to send the sms outside of the india?
Shivam PandyaPosted Oct 10, 2012, 6:02 AM
Not Now, Because Way2sms provide service in India Only. But I read somewhere that way2sms going to start services in Middle-East. So After that, we are able to send sms to those country too.
R ACHUTHAPosted Oct 10, 2012, 5:39 AM
Nice article. Is it possible to send the message outside of the India?
Gaurav ChauhanPosted Oct 9, 2012, 11:41 PM
Its a very useful article for daily use.Using this we can send SMS using a technology.
Shivam PandyaeditedPosted Oct 9, 2012, 11:32 PMEdited Oct 10, 2012, 12:33 AM
Yse, it works also in webforms.. thanks for your review.. If you want to know more about it and about farther implantation, please email me @ [email protected]
Deepak MiddhaPosted Oct 9, 2012, 11:15 PM
Very Nice article Shivam.I will use this in my project.Thanks for posting...
Gaurav GuptaPosted Oct 9, 2012, 10:52 PM
Good article.. Is SMSClient DLL works in web forms also?
Megha GoyalPosted Oct 9, 2012, 10:44 PM
I'll definitely try this.. thanx for sharing with us