Hello,
Thank you for posting in Q&A forum.
You can use the RasDial.dll library which provides functions to create, edit, and dial-up incoming connections.
You can do a coding process invoking this library and give a try.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best regards,
Jill Zhou
If the Answer is helpful, please click "Accept Answer" and upvote it.