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, 12:58 PM EST
Sr. please send me , user and password , [email protected]
Rahul AnandPosted Jun 7, 2017, 10:30 PM EDT
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, 7:46 AM EST
I am also facing same error send solution at [email protected]
Bhuvanesh MohankumarPosted Jul 25, 2016, 12:28 AM EDT
Useful Thanks
Ashish GuptaPosted Apr 25, 2016, 5:01 AM EDT
I am also facing the same problem "No Internet Connection". I think dll is corrupt
Sankar VelusamyPosted Feb 29, 2016, 10:43 PM EST
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, 2:11 PM EST
I try having msg " No Internet Connection". what can i do for run this application. pls send us [email protected]
Pravin MotePosted Jan 31, 2016, 8:36 PM EST
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, 5:52 AM EST
iam also same problem
Former memberPosted Nov 29, 2015, 5:51 AM EST
I am also getting the same ptoblem. Please solve at the earliest.
swati pawarPosted Aug 31, 2015, 3:46 AM EDT
I am also getting the same ptoblem. Please solve at the earliest.
honest rajPosted Aug 28, 2015, 1:49 AM EDT
i am also facing the same problem what can i do
Vaidhya PPosted Aug 8, 2015, 2:46 AM EDT
Even i am facing the same problem. tried so many methods
Prabin DasPosted Jul 31, 2015, 9:18 PM EDT
I am also facing the same problem that "No Internet Connection"...
Amrendra GuptaPosted Jun 18, 2015, 6:59 AM EDT
No internet connection message is reflecting. Net is working properly
surendara babu aPosted Apr 19, 2015, 9:22 AM EDT
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, 6:37 AM EDT
I am also having same problem "No internet connection ". Please send the source code to my ID [email protected]
roopa reddyPosted Oct 18, 2014, 1:07 AM EDT
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 3, 2014, 9:34 PM EDT
Shivam Pandya ji tell me why ***"No Internet Connection"*** in below Reply
Saurabh TripathiPosted Oct 3, 2014, 9:31 PM EDT
but each time show------>"No Internet Connection"
Saurabh TripathiPosted Oct 3, 2014, 9:30 PM EDT
sms.send(textBox1.Text(Login ID/Phon No.), textBox2.Text(Login Pwd), textBox3.Text(message), textBox3.Text(Send to Phone No.));
Pranita GuptaPosted Sep 23, 2014, 11:24 PM EDT
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, 3:44 AM EDT
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, 10:26 AM EDT
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, 5:23 AM EDT
[email protected]
Choujoun BououniPosted May 12, 2014, 5:22 AM EDT
I can't download it please any one can send me the dll file and the sourcecode please
akash chowdaryPosted May 8, 2014, 9:19 PM EDT
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, 11:50 AM EDT
thank you for dll file
kunal wadkarPosted Mar 13, 2014, 7:49 AM EDT
"not internet connection"
dipak shahPosted Oct 4, 2013, 9:26 PM EDT
invlid login or no internet conneions error occured
majid khanPosted Sep 24, 2013, 1:46 AM EDT
how to send multi sms in c# WPF
nagababu sPosted Aug 13, 2013, 3:16 AM EDT
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 26, 2013, 10:13 PM EDT
I getting same error
kamran siddiquePosted Jun 6, 2013, 6:08 AM EDT
I am also getting error "Invalid User Name Or Password" send me solution to my mail id [email protected]
Murad MahmudPosted May 1, 2013, 8:21 AM EDT
How tom use in Banglades
Muthu PandiPosted Apr 16, 2013, 1:25 AM EDT
Getting Error Msg Like " Invalid Log in Error" How to resolve it?
Muthu PandiPosted Apr 16, 2013, 1:25 AM EDT
Getting Error Msg Like " Invalid Log in Error" How to resolve it?
brijesh prajapatiPosted Apr 11, 2013, 11:00 PM EDT
Sir this code in not working Return only -11 so what can i do plz sugeest me
Ponmani KannanPosted Apr 4, 2013, 10:00 AM EDT
same invalid login error
Ponmani KannanPosted Apr 4, 2013, 10:00 AM EDT
same invalid login error
sree kannanPosted Mar 23, 2013, 1:53 AM EDT
I am also getting same error "invalid login" please send the solution to my mail id [email protected]
sree kannanPosted Mar 23, 2013, 1:53 AM EDT
I am also getting same error "invalid login" please send the solution to my mail id [email protected]
Lata TolaniPosted Mar 11, 2013, 9:02 PM EDT
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, 6:40 AM EST
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, 9:36 AM EST
send the solution for error "no internet connection" thought it is connected to internet .send to [email protected]
Amey BhandariPosted Feb 26, 2013, 9:33 AM EST
error comes as "no internet connection" thought it is connected to internet so what is problem in code
Amey BhandariPosted Feb 26, 2013, 9:33 AM EST
error comes as "no internet connection" thought it is connected to internet so what is problem in code
Sri Harsha hPosted Feb 3, 2013, 12:53 AM EST
Hello When I try to execute this, it is showing "No overload for method 'send' takes 4 arguments"
Dipak JayswalPosted Jan 23, 2013, 9:22 PM EST
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 23, 2013, 9:21 PM EST
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 23, 2013, 9:21 PM EST
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 13, 2013, 9:34 PM EST
is it same as whats app application
Shivam PandyaPosted Jan 8, 2013, 11:00 PM EST
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 8, 2013, 10:58 PM EST
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 7, 2013, 11:20 PM ESTEdited Jan 8, 2013, 12:29 AM EST
only one time send sms on any no what is problem???
bhaveshvirani viraniPosted Jan 7, 2013, 11:19 PM EST
i was messageBOX 'Message Send' but Message was not Receive what Problem ??
SIVAPosted Jan 3, 2013, 5:34 AM EST
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, 2:28 AM ESTEdited Jan 2, 2013, 2:29 AM EST
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, 6:21 PM EST
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, 6:20 PM EST
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 30, 2012, 8:33 PM ESTEdited Dec 30, 2012, 8:57 PM EST
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 30, 2012, 8:14 PM EST
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, 5:18 AM EST
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 25, 2012, 10:50 PM EST
Please sir delete this article or improve it
Pankaj SharmaPosted Dec 25, 2012, 9:39 PM EST
invalid login or no internet connection Pls help
mandar parkarPosted Dec 21, 2012, 3:56 AM EST
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 19, 2012, 9:30 PM EST
Hi Arjun Singh Can you mail me code, your system configuration and internet status?
Arjun SingheditedPosted Dec 19, 2012, 8:21 PM ESTEdited Dec 19, 2012, 8:25 PM EST
Code not working ,Showing invalid name or no connection. Please help solve my problem.
Shivam PandyaPosted Dec 15, 2012, 6:50 PM EST
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, 12:41 AM EST
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, 12:31 AM EST
its not working if i m sending to phode plz send your feedback.
jnanesh kumareditedPosted Dec 5, 2012, 8:45 PM ESTEdited Dec 5, 2012, 8:47 PM EST
its working perfect shivam pandey..:)
PRABHU SUCCESSPosted Dec 3, 2012, 3:59 PM EST
hi friend .. how to send group sms
Shivam PandyaPosted Nov 18, 2012, 8:10 PM EST
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, 1:12 AM EST
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 6, 2012, 7:04 PM EST
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, 4:41 AM EDT
no sathya sir ,its not valid code then how your application is running
sathya kumarPosted Nov 2, 2012, 3:43 AM EDT
Ya its work fine for me. Thanks a lot.
raj tPosted Nov 1, 2012, 11:39 PM EDT
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 1, 2012, 8:15 PM EDT
not working
mohan kumarPosted Oct 29, 2012, 4:30 AM EDT
It's nice..But how do i get SMS Client DLL file? Where it will be available?
Shivam PandyaPosted Oct 18, 2012, 3:03 AM EDT
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, 10:19 AM EDT
Thank you, is there any way to send the sms outside of the india?
Shivam PandyaPosted Oct 10, 2012, 2:02 AM EDT
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, 1:39 AM EDT
Nice article. Is it possible to send the message outside of the India?
Gaurav ChauhanPosted Oct 9, 2012, 7:41 PM EDT
Its a very useful article for daily use.Using this we can send SMS using a technology.
Shivam PandyaeditedPosted Oct 9, 2012, 7:32 PM EDTEdited Oct 9, 2012, 8:33 PM EDT
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, 7:15 PM EDT
Very Nice article Shivam.I will use this in my project.Thanks for posting...
Gaurav GuptaPosted Oct 9, 2012, 6:52 PM EDT
Good article.. Is SMSClient DLL works in web forms also?
Megha GoyalPosted Oct 9, 2012, 6:44 PM EDT
I'll definitely try this.. thanx for sharing with us