Skip to main content
New Participant
April 15, 2020
Question

How to get the incoming number using RingCentral.Net and vb.Net in WinForms application?

We have an existing vb.Net WinForms application that accepts a phone # as a command line parameter. We have attempted to use RC Desktop Phone app to launch the external app but it does not work well in the clients terminal server environment. We are trying to convert the application to use the RC API to get the incoming number.

It looks like I need a presence subscription. I found this example https://gist.github.com/grokify/2c32b06e885b4637b8153a4b938fccb6 but it is written for the old C# SDK for .Net. I'm looking for vb.Net example code for getting the incoming number using the new RingCentral.Net class library.

Any help is much appreciated.

    1 reply

    PhongVu
    Community Manager
    Community Manager
    April 15, 2020

    Not sure is there any vb.Net expert here. Your question is more about how to use C# .Net with vb.Net. I think it's more helpful if you ask from vb.Net community or from stack overflow.