如何使用C#和Winform创建Sms服务器

问题描述:

我有一个应用程序来管理全国各地辛迪加委员会的选举。

我想创建一个短信服务器,从每个省的集团代表处接收短信并自动插入数据由代表发送到数据库中以便在网上快速发布结果。任何人都可以帮忙???

I have an application which manage the elections of the syndicate council around the country.
I wanna create an sms server to receive sms from the representatives of the syndicate in every province and insert automatically the data sent by the representative into the database to publish quickly the results on the web. anyone can help???

参考:

1. 如何开发我自己的短信网关 [ ^ ]

2. 短信与-C [ ^ ]
Refer:
1. how-to-develop-my-own-sms-gateway[^]
2. sms-with-c?[^]


您需要在您所在的国家/地区找到短信网关/短信服务提供商。他们有API需要将传入的SMS路由到您的服务器并发送短信。



大多数时候他们有REST API,他们也会提供示例代码。

API的例子(我没有测试或使用以下任何服务,你需要哪个最适合你的需要)



http://americas.clickatell.com/apis-scripts/scripts/c-scripts/ [ ^ ]

http://www.eztexting.com/developers/rest- api / sms / code-examples / csharp.html [ ^ ]

http:/ /www.twilio.com/docs/quickstart/csharp/sms [ ^ ]
You need to find SMS gateway/SMS service provider in your country. They have APIs need to route incoming SMS to your server and sending SMS.

Most of the time they have REST API and also they will provide sample codes.
example for APIs ( I haven't test or using any of below services, you need to which is best for your need)

http://americas.clickatell.com/apis-scripts/scripts/c-scripts/[^]
http://www.eztexting.com/developers/rest-api/sms/code-examples/csharp.html[^]
http://www.twilio.com/docs/quickstart/csharp/sms[^]