By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 804 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

DUN support in vs.net 2003

P: n/a
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
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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/de...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.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.