从.NET桌面应用程序发送短信 [英] Sending SMS From .NET Desktop Application

查看:108
本文介绍了从.NET桌面应用程序发送短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我需要在.net中开发一个桌面应用程序,它可以从列表和接收方发送短信,我也可以返回味精,并且该消息在我的手机上显示是否可以有人帮助我进行开发.

http://skdotnetdeveloper.blogspot.in/2011/09/send-sms-in- cnet.html [ ^ ]

添加此dll的引用,并使用以下代码发送短信

  SmsClient . SendSms   sms   =    SmsClient .发送短信();
// 字符串status = sms.send(way2smsuserid,way2smspassword,消息,tonumber); 


hi i need to develop an desktop application in .net ,it send sms from list and reciver can i also can back msg and that message display on my mobile is it possible can any one help me how can i develop this.

解决方案

Use smsClient.dll for sending sms using your way2sms account

You can download smsClient.dll from the following link

http://skdotnetdeveloper.blogspot.in/2011/09/send-sms-in-cnet.html[^]

Add reference of this dll and use this following code for sending the sms

SmsClient.SendSms sms = new SmsClient.SendSms();
//string status=sms.send(way2smsuserid, way2smspassword, message, tonumber);


这篇关于从.NET桌面应用程序发送短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆