使用C#Windows应用程序发送SMS而不使用公共短信发送站点 [英] Send SMS using C# windows application without using public sms send sites

查看:68
本文介绍了使用C#Windows应用程序发送SMS而不使用公共短信发送站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想开发用于发送SMS的C#Windows应用程序.在这里,我不想使用类似于way2sms.com的公共短信网络.对于我的过程,是否必须将移动设备连接到PC.这是使用c#win发送短信的最简单方法.应用程序.这里正在使用Visual Studio2008.

谢谢与问候,

Dhinesh kumar.V

Hi All,

I wanna develop C# windows application for send SMS. Here i dont wanna to use public sms Networks like way2sms.com. For my process mobile is connected to pc is must or not. and which is the simplest way for send sms using c# win. app. Here am using visual studio 2008.

Thanks & Regards,

Dhinesh kumar.V

推荐答案

使用带有ActiveSync的RAPI通过手机将短信发送通过与PC连接的手机
use RAPI with activesync to send sms thru your phone connected to the pc


您可以使用 SMS网关. [
You can use SMS Gateway.[^] provided you don''t want to use any third party web service. SMS gateway could be expensive.


如果您不想使用第三方服务发送SMS,则可以使用GSM调制解调器并将其作为串行设备连接到PC.然后,您可以通过RS232和AT命令与调制解调器进行通讯并发送SMS.

TC35i或MC52i之类的GSM调制解调器(例如在亚马逊或有时在ebay上,谷歌是您的朋友)做得很好,当然您需要SIM卡.

可以在
http://msdn.microsoft.com上找到与.Net的RS232通信. /en-us/library/system.io.ports.serialport.aspx [
If you don''t want to use 3rd party services for sending SMS you can take a GSM modem and connect it as serial device to your PC. Then you talk via RS232 and AT commands with the modem and send your SMS.

GSM modems like TC35i or MC52i (e.g. at Amazon or sometimes on ebay, Google is yout friend) are doing a good job and of course you need a SIM card.

RS232 communication with .Net can be found here http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx[^] and of course on Codeproject.


这篇关于使用C#Windows应用程序发送SMS而不使用公共短信发送站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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