question

David Kopp avatar image
David Kopp asked Phong Vu answered

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.

rest api
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered

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.

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys