无法使用way2sms将短信从PC发送到移动设备

时间:2014-03-04 04:18:01

标签: c# sms way2sms

我正在使用way2sms第三方控件在我的应用程序中将短信从我的电脑发送到手机。这是我的代码。

SendSms sms = new SendSms();
string status=sms.send(txtID.Text, txtPass.Text, txtMessage.Text, txtMN.Text);
if (status == "1")
    MessageBox.Show("Sent successfully", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
else if (status == "2")
    MessageBox.Show("No Internet Connection", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
else
    MessageBox.Show("ID or Password is not correct", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);`  

每次我收到错误“2”,表示没有互联网连接

有人在那里帮助我吗?

0 个答案:

没有答案