How to get Caller ID in C#?

前端 未结 3 1391
我在风中等你
我在风中等你 2020-12-30 10:53

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# ?

3条回答
  •  不知归路
    2020-12-30 11:19

    It is possible, but there are some things about it you should note:

    • You still have to have caller ID supported by your carrier/provider. A basic POTS line won't include this information unless the carrier has done some extra work to add it. So you can't do this to avoid paying an extra caller ID fee.
    • It's not built into .Net. You'll have to call into the basic TAPI library. I've never worked with this library myself, so that's as much as I can tell you.

提交回复
热议问题