如何从WPF应用程序向任何号码发送短信? [英] how to send sms to any number from wpf application?
问题描述
我在wpf中有应用程序,我想向任何手机号码发送短信,我可以向任何手机号码发送短信.使用短信网关
I have application in wpf, and I want to send sms to any mobile number, I am able to send sms to any no. using sms gateway
但是我不想强迫我的客户使用相同的短信网关,我的意思是他可以选择任何短信网关,
but I don't want force to my client to use same sms gateway, I mean he can choose any sms gateway,
所以我想设计可用于任何短信网关的代码,该怎么做?
So I want to design code that can use for any sms gateway, how can do this,
任何人对此都有想法,请帮助我.
any one have some idea on this, please help me.
谢谢
Sushil Bhat
Sushil Bhat
推荐答案
您可以按照以下链接中的建议创建通用接口.但是大多数短信网关提供商都会为您提供API,您可以通过它们发送短信.因此,您仍然必须根据客户选择的提供商进行集成.
You can create common interface as suggested in following link. But most sms gateway providers provide you API through which you can send sms. So you still would have to do integration based on provider your client chooses.
这篇关于如何从WPF应用程序向任何号码发送短信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!