如何使用C#程序拨打电话?

编程入门 行业动态 更新时间:2024-10-04 23:26:08
本文介绍了如何使用C#程序拨打电话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

是否可以使用c#程序或框架拨打语音电话?

推荐答案

请参考以下链接得到一些想法。 手机 - 就像C#中的键盘控制 [ ^ ] stackoverflow/questions/4785786/dial-mobile-phone-via-c-sharp-program [ ^ ] Please refer the below link you may get some idea. Mobile Phone - like keyboard control in C#[^] stackoverflow/questions/4785786/dial-mobile-phone-via-c-sharp-program[^]

您好Ganesh, 您可以使用电话应用程序编程接口(TAPI)或Skype API或twilio API或Asterix。 使用TAPI: 创建你的第一个TAPI应用程序 TAPI-3-0-Application-development-using-C-NET 更多... TAPI在codeproject上搜索结果 使用Skype API: skypekit 使用Twilio: 图书馆 宣布.NET,C#Helper Library for Twilio Twilio和C#中的冒险 使用Asterix: 第1步 - 获取服务器安装Asterix就可以了。 www.asterisk。它是开源的。 第2步 - 获得支持的硬件,例如www.asterisk/hardware 步骤3 - 使用sourceforge/projects/asterisk-dotnet/与其进行通信(打开源码c#到星号库。 如果回复有帮助你把它标记为你的答案。谢谢!! Hi Ganesh, You can use Telephony Application Programming Interface(TAPI) or Skype API or twilio API or Asterix. Using TAPI : Creating-your-first-TAPI-application TAPI-3-0-Application-development-using-C-NET More ... TAPI search result on codeproject Using Skype API : skypekit Using Twilio : libraries Announcing the .NET, C# Helper Library for Twilio Adventures in Twilio and C# Using Asterix : Step 1 - Get a server install Asterix on it. www.asterisk. It's open source. Step 2 - Get supported hardware e.g. www.asterisk/hardware Step 3 - Communicate to it with sourceforge/projects/asterisk-dotnet/ (open source c# to asterisk library. If the reply help you mark it as your answer. thanks!!

您可以尝试这样的事情.... C#Win32应用程序 You could try something like this....C# Win32 application using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO.Ports; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { SerialPort sp = new SerialPort(); sp.PortName = "COM10"; sp.BaudRate = 9600; sp.Parity = Parity.None; sp.DataBits = 8; sp.StopBits = StopBits.One; sp.Handshake = Handshake.XOnXOff; sp.DtrEnable = true; sp.RtsEnable = true; sp.Open(); if (!sp.IsOpen) { MessageBox.Show("Serial port is not opened"); return; } sp.WriteLine("AT" + Environment.NewLine); sp.WriteLine("ATD=\"" + "Destination Number;" + "\"" + Environment.NewLine); } } }

更多推荐

如何使用C#程序拨打电话?

本文发布于:2023-11-28 03:23:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1640762.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何使用   拨打电话   程序

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!