<small id='Wt0YE'></small><noframes id='Wt0YE'>

<tfoot id='Wt0YE'></tfoot>
    <legend id='Wt0YE'><style id='Wt0YE'><dir id='Wt0YE'><q id='Wt0YE'></q></dir></style></legend>
    • <bdo id='Wt0YE'></bdo><ul id='Wt0YE'></ul>

        <i id='Wt0YE'><tr id='Wt0YE'><dt id='Wt0YE'><q id='Wt0YE'><span id='Wt0YE'><b id='Wt0YE'><form id='Wt0YE'><ins id='Wt0YE'></ins><ul id='Wt0YE'></ul><sub id='Wt0YE'></sub></form><legend id='Wt0YE'></legend><bdo id='Wt0YE'><pre id='Wt0YE'><center id='Wt0YE'></center></pre></bdo></b><th id='Wt0YE'></th></span></q></dt></tr></i><div id='Wt0YE'><tfoot id='Wt0YE'></tfoot><dl id='Wt0YE'><fieldset id='Wt0YE'></fieldset></dl></div>

        如何在 C# 中获取来电显示?

        时间:2023-11-10
        • <bdo id='oskvg'></bdo><ul id='oskvg'></ul>
        • <legend id='oskvg'><style id='oskvg'><dir id='oskvg'><q id='oskvg'></q></dir></style></legend>
            <tbody id='oskvg'></tbody>
          <tfoot id='oskvg'></tfoot>
          • <i id='oskvg'><tr id='oskvg'><dt id='oskvg'><q id='oskvg'><span id='oskvg'><b id='oskvg'><form id='oskvg'><ins id='oskvg'></ins><ul id='oskvg'></ul><sub id='oskvg'></sub></form><legend id='oskvg'></legend><bdo id='oskvg'><pre id='oskvg'><center id='oskvg'></center></pre></bdo></b><th id='oskvg'></th></span></q></dt></tr></i><div id='oskvg'><tfoot id='oskvg'></tfoot><dl id='oskvg'><fieldset id='oskvg'></fieldset></dl></div>

            <small id='oskvg'></small><noframes id='oskvg'>

                • 本文介绍了如何在 C# 中获取来电显示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想使用 56K 调制解调器来获取拨打家庭电话的电话号码.有没有办法用 C# 实现这一点?

                  I want to use 56K modem for getting telephone number of who calls the home phone. Is there a way to achieve this with C# ?

                  推荐答案

                  并非所有调制解调器都支持来电显示.对于那些这样做的人来说,不同制造商的实施方式各不相同.

                  Not all modems support caller ID. And for those that do, the implementation varies between manufacturers.

                  来电显示通过串行数据传递,因此您必须使用 TAPI 库(或 Windows 的超级终端来测试它).来电显示号码通常出现在第一次和第二次响铃之间.

                  There caller ID is passed through the serial data so you will have to use the TAPI library (or Windows' HyperTerminal to test it). The caller ID number typically appears between the first and the second ring.

                  您需要向调制解调器发出命令以激活来电显示.通常:

                  You will need to issue a command to the modem to activate caller ID. Typically:

                  AT#CID=1(或AT+VCID=1)

                  好的

                  检查您的调制解调器的文档.

                  Check the documentation for your modem.

                  当有来电时,调制解调器会收到一个呼叫字符串.通常:

                  When a call comes in, the modem will receive the a call string. Typically:

                  戒指

                  然后来电显示文本会进来.如果我没记错的话,它的形式是:

                  Then the caller ID text will come in. If I am remembering correctly, it will be in the form:

                  NMBR=XXXXXXXXXX

                  [我正在寻找参考资料.当我找到它时,我会发布一个链接]

                  更新:啊,找到了.查看此页面,了解各种调制解调器的命令和连接字符串:

                  UPDATE: Ah, found one. Check out this page for the commands and connection strings for for various modems:

                  如何测试调制解调器以支持来电显示

                  这篇关于如何在 C# 中获取来电显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:C# Winform 在 SerialPort.Close 上冻结 下一篇:获取串口连接的设备名称

                  相关文章

                  <tfoot id='Ce3vf'></tfoot>
                    <bdo id='Ce3vf'></bdo><ul id='Ce3vf'></ul>
                • <legend id='Ce3vf'><style id='Ce3vf'><dir id='Ce3vf'><q id='Ce3vf'></q></dir></style></legend>
                  <i id='Ce3vf'><tr id='Ce3vf'><dt id='Ce3vf'><q id='Ce3vf'><span id='Ce3vf'><b id='Ce3vf'><form id='Ce3vf'><ins id='Ce3vf'></ins><ul id='Ce3vf'></ul><sub id='Ce3vf'></sub></form><legend id='Ce3vf'></legend><bdo id='Ce3vf'><pre id='Ce3vf'><center id='Ce3vf'></center></pre></bdo></b><th id='Ce3vf'></th></span></q></dt></tr></i><div id='Ce3vf'><tfoot id='Ce3vf'></tfoot><dl id='Ce3vf'><fieldset id='Ce3vf'></fieldset></dl></div>

                    1. <small id='Ce3vf'></small><noframes id='Ce3vf'>