C#代码将SMS从PC发送到手机 [英] C# code to send SMS from PC to Mobile

查看:74
本文介绍了C#代码将SMS从PC发送到手机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何编写c#代码以将PC上的SMS批量发送到手机?为此应使用哪些程序集引用?有什么方法可以发送免费短信吗?''我们是否应该为此使用GSM或Internet?为此,我们应该实际使用什么服务?

请解释.

How to write a c# code to bulk send SMS'' to mobiles from a PC? What assembly references should be used for this purpose? Is there any way to send free SMS''? Should we use GSM or internet for this purpose? What service should we use actually for this purpose?

Please explain.

推荐答案

让我回答问题中未回答的部分

为此应使用哪些程序集引用?
您可以使用许多第三方库来完成此任务.除了该SMS网关之外,您还将选择为此目的提供自己的API.

有什么方法可以发送免费短信吗?"
不,没有免费的东西.但是,如果您选择批量发送短信,您的费用将大大降低.您需要查看不同移动运营商提供的费率和服务.

我们应该为此使用GSM还是Internet?
您可以使用任何网络.为此,既有GSM调制解调器也有GPRS调制解调器.通常,通过Internet进行的数据传输比通过GSM网络进行的数据传输便宜.

我们应该为此目的实际使用什么服务?
您应该向您所在地区的提供此类服务的移动运营商咨询.您将从他们那里了解更多.

我建议您阅读本指南: SMS消息简介 [
Let me answer the unanswered part of the question

What assembly references should be used for this purpose?
There are many 3rd party libraries available using which you can achive this task. Apart from that SMS gateway that you will chose also provides their own API for the purpose.

Is there any way to send free SMS''?
No, nothing comes for free. But if you are opting for bulk SMS you will be charged very less. You need to check out the rates and services provided by different mobile operators.

Should we use GSM or internet for this purpose?
You can use any of the network. There are both GSM and GPRS modems available for the purpose. Usually data transfer over internet is cheaper than data transfer over GSM network.

What service should we use actually for this purpose?
You should enquire with the mobile operators available in your region which provide such services. You will get to know more from them.

I would suggest you to read this guide: Introduction to SMS Messaging[^]. It will clear most of your doubts.

Hope that helps! :thumbsup:

Cheers!
Ankur


希望 [ ^ ]可能会为您提供帮助.
Hope this[^] might help you.


看看以下内容:
如何使用SQL数据库从C#发送SMS消息 [使用C#将SMS发送到手机 [ ^ ]

互联网上还有更多.如有需要,只需Google即可.
Have a look at these:
How to Send SMS Messages from C# using an SQL Database[^]
Send SMS to a Mobile Phone Using C#[^]

There are many more on internet. Just Google for it, if needed.


这篇关于C#代码将SMS从PC发送到手机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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