首页 \ 问答 \ 使用C#发送短信(Send SMS using C#)

使用C#发送短信(Send SMS using C#)

我们可以使用.net应用程序发送短信,而无需使用任何第三方服务。 像短信网关等....简单,不会让我们花费?

我不知道......只是问。

请帮忙..

谢谢


Is there any way that we can send SMS using .net applications without using any third party services. Like SMS Gateways etc.... simple which will not cost us?

I dont know...just asking.

Please help..

Thanks


原文:https://stackoverflow.com/questions/4248055
更新时间:2022-09-27 15:09

最满意答案

如果你有足够的内存,而没有别的东西要求内存,那可能会缩短你的启动时间。 为保证对内存的访问,您可能需要在命名共享内存中拥有内存映射文件,如此处所述。 你可以有一个简单的程序创建共享并进行管理,以便保证它仍然保留在内存中。


If you have enough memory and nothing else asks for memory, that might reduce your startup time. To guarantee access to the memory, you probably want to have a memory mapped file in named shared memory, as described here. You can have a simple program create the share and manage it so you can guarantee it remains in memory.

相关问答

更多
  • 经过一些研究和实验,我得出的结论是,在安全,签名保护的通信方面,Android不提供AIDL的替代方案。 好消息是AIDL并不难实现,关于这个特定主题的官方教程也不差。 After some research and experimentation, I came to conclusion that Android does not provide an alternative to AIDL when it comes to secured, signature protected communicat ...
  • 由于NewCode将通过网络进行通信,因此我将研究协议缓冲区。 对于可能运行不同操作系统的单独机器上的进程之间进行通信,协议缓冲区可能是最有效的。 有许多不同语言的协议缓冲区实现,所有这些语言都使用相同的预定义结构定义。 当然,还有其他选项,如XML,JSON或您自己的二进制协议。 https://code.google.com/p/protobuf/ Since NewCode will be communicating over the network, I would look into protoc ...
  • RegisterWellKnownServiceType没有重载允许您指定要注册的通道,IPCServerChannel上也没有任何方法可以注册服务,所以这些都不起作用。 我能想到的最好的事情就是编写一个过滤消息或提供安全性的ChannelSink。 这些可以添加到TcpChannel和HttpChannel的构造函数中,以过滤掉仅管理员调用。 There are no overloads for RegisterWellKnownServiceType that allow you to specify ...
  • 共享内存最快。 生产者进程可以将其输出放入进程之间共享的内存中,并通知其他进程已更新共享数据。 在Linux上,您自然会在同一共享内存中放置一个互斥锁和一个条件变量,以便其他进程可以等待条件变量的更新。 Several parts of our system have been redesigned so that we don't have to pass 30MB messages around, but rather 3MB. This allowed us to choose .NET Remoti ...
  • 这里的区别是IPC 信令与共享状态的机制。 信号 (信号,消息队列,管道等)适用于信息往往较短,及时并有针对性。 这些机制的事件往往会唤醒或中断另一个程序。 比喻是,“一个程序将SMS发送给另一个?” 嘿,我在散列表中添加了一个新条目! 嘿,我完成了你要求我做的工作! 嘿,这是我的猫的照片。 他不可爱? 嘿,今晚你想出去吗? 这个新的地方叫做硬盘。 与上述相比, 共享内存对于共享相对较大且稳定的对象(更改小部件或重复读取)更有效。 程序可能会不时地咨询共享内存或在收到其他信号后。 想想看,一个家庭的程序会在 ...
  • 如果你有足够的内存,而没有别的东西要求内存,那可能会缩短你的启动时间。 为保证对内存的访问,您可能需要在命名共享内存中拥有内存映射文件,如此处所述。 你可以有一个简单的程序创建共享并进行管理,以便保证它仍然保留在内存中。 If you have enough memory and nothing else asks for memory, that might reduce your startup time. To guarantee access to the memory, you probably ...
  • 编写回应服务器:接受一个客户端的服务器,并重复客户端回复的所有内容。 展开此服务器以支持多个同时连接。 让服务器回应所有连接。 考虑命令的某些模式来自客户端的模式 - 初始的“/”,并对它们进行操作(关闭连接,命名连接,列出连接等)而不是回显它们。 将所有echo'd文本前缀为客户端名称,默认为“Anonymous $ N”,然后使用来自#4的命令设置名称。 当接收到一个新的连接时,服务器在服务器开始回应文本并作用于其他命令之前,从服务器中引出一个名称。 等等。 如前所述, Beej的指南可以帮助你通过#1 ...
  • 如果您安装了组件的PDB文件,请尝试使用ADPLUS获取DUMP。 DebugDiag 1.1或Windbg,我应该使用哪一个? 以及如何收集内存转储 mem泄漏发现的其他信息: 逆向工程和调试博客 捕获转储的所有方法...... 解决软件问题:科学方法 两分钟练习:使用映像文件执行选项配置调试器 有关使用Windbg调试.NET问题的TechED演示文稿的幻灯片和资源 后台工具:ExcpHook异常监视器 If you have PDB files from components installed tr ...
  • 简短回答: 适用于Win32的Windows管道。 Linux(和系列)的匿名本地套接字。 答案很长: 在Windows平台上,有以下常用替代方案: 内存映射文件 命名管道 网络套接字(主要是IP) 不幸的是,以上都不是本地的,只是天生的。 文件由存储访问共享,由于常见的RPC / LPC路由,管道可用,IP是路由/转发配置的主体(即使使用环回)。 我个人建议在Win32上使用管道。 它们或多或少像Linux上的本地套接字(尽管有一些差异)。 在Linux平台上: 共享内存 管道 本地套接字(包括匿名套接字 ...
  • 听起来你想要MySQL MEMORY存储引擎: CREATE TABLE [...] ENGINE=MEMORY; 有关详细信息,请参阅MySQL手册 。 It sounds like you want the MySQL MEMORY storage engine: CREATE TABLE [...] ENGINE=MEMORY; Refer to the MySQL manual for details .

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)