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
 
Back
Top