简体   繁体   English

使用VB.net 2008 C#中的安全网关将SMS发送到手机

[英]Sending SMS to mobile using secure gateway from VB.net 2008 c#

I am developing a desktop application in VS2008 with C#. 我正在使用C#在VS2008中开发桌面应用程序。 How can I send an SMS using a secure gateway? 如何使用安全网关发送短信?

Sending SMS is same for every .net application. 每个.net应用程序的SMS发送都是一样的。 Its your SMS gateway provider who have to make it secure. 它是您的SMS网关提供商,必须确保其安全。 Most of the gateway providers provide HTTP gateway. 大多数网关提供程序都提供HTTP网关。 Some give you the option of SMPP protocol as well. 有些还为您提供了SMPP协议的选项。 Learn about both and choose the best one for you. 了解两者,并为您选择最佳的一种。

Why do you wan to make it secure? 您为什么要确保安全?

Just get the string from an sms provider gateway and make the simple web request from your program. 只需从SMS提供商网关获取字符串,然后从您的程序发出简单的Web请求即可。 Remember to replace the text and the mobile no value before making web request. 提出网络请求之前,请记住替换文本和手机没有价值。

There isn't any common example you can get. 您没有任何常见的例子。

First you have to contact a SMS gateway provider (for example your mobile phone provider) and request that you want to send SMS messages via their gateway. 首先,您必须联系SMS网关提供商(例如您的手机提供商),并要求您通过他们的网关发送SMS消息。 They will provide you with all the tehnical information and most of the time there is even examples for most of the platforms (ASP.NET, PHP, etc). 它们将为您提供所有技术信息,并且在大多数情况下,甚至大多数平台(ASP.NET,PHP等)的示例也是如此。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM