Dial-up connection

  • Thread starter Thread starter Frank Hardy
  • Start date Start date
F

Frank Hardy

Hi,

I have to change the phone number of a dial-up network connection by a C#
program. Then the connection should be connected. How can I do this?

TIA for any help,

Frank
 
Frank,

From what I saw from a quick search, there is nothing in the framework to
accomplish this. You need to usd interop via PInvoke to call into the
RASAPI32.DLL. Searching for "RASAPI32 DOTNET" or "RASAPI32 C#" should show
you some source code.

Not much but I hope it helps.

Michael
 
Michael,

I just didn't know that there is a dedicated API32 for RAS. Your answer
helped perfektly. Thank you!

Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top