DUN support in vs.net 2003

  • Thread starter Thread starter BrendonJ
  • Start date Start date
B

BrendonJ

Hi

If or what support is there for controling dial up
networking. Would like remove all of our automated
winbatch scripts currently controling dialup and
datatransfer and replace them with vb.net or c#
applications but I can not find any support or help for
controling the computers dial up networking connections.
Any ideas?

Cheers
Brendon
 
Hi Brendon,

Thanks for your post. .NET Framework does not presently provide any base
classes that access the Remote Access Services (RAS)API. If you want to
control dial up networking, you have to use platform invoke to call RAS
APIs from your .NET application. I believe the following MSDN articles are
very helpful:

Consuming Unmanaged DLL Functions
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconconsumingunmanageddllfunctions.asp

Dialing Up the Internet with RAS
http://www.microsoft.com/mind/0698/ras/ras.asp

You may also consider using third-party ActiveX control that provide
dial-up functionality. For example:
RAS ActiveX Control
http://www.dart.com/ras.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
 
Back
Top