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

Hooking into the Window DUN API from C#

P: n/a
Hi All,

Does anyone know if it's possible to hook into the DUN API from C#?
Any pointers in the direction of info would be appreciated as well :)

--
Chris Crowther
Developer
J&M Crowther Ltd
May 10 '06 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Hi Chris,

Thank you for posting.

You may take a look at following article:

A web based dialup Internet application
By Dan_P
http://www.codeproject.com/aspnet/webdialup.asp

Regards,

Walter Wang
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

May 11 '06 #2

P: n/a
Walter Wang [MSFT] wrote:
You may take a look at following article:
Thanks for that; although I can now see a problem: I need to be
able to connect to arbitrary remote points, using a telephone number
supplied from a database. Creating phone book entries, even
dynamicly, for each one seems a little unwieldly.
Walter Wang
Microsoft Online Community Support


--
Chris Crowther
Developer
J&M Crowther Ltd.
May 11 '06 #3

P: n/a
Hi Chris,

Thanks for your update.

This is a quick note to let you know that I am performing research on this
issue and will get back to you as soon as possible. I appreciate your
patience.

Regards,

Walter Wang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

May 12 '06 #4

P: n/a
Hello
It is possible to hook into the DUN using the RAS apis where we can change
the information about the dial up properties or changing the phonebook entry.
Also when you say hooking into the Windows DUN api what exactly do you mean?
There are no managed code in C# to do this you need make use of Interop wth
the RAS apis which is the only alternative.
Let me know if you have any more questions or clarification
Thanks
Khoj(MSFT)

"Chris Crowther" wrote:
Hi All,

Does anyone know if it's possible to hook into the DUN API from C#?
Any pointers in the direction of info would be appreciated as well :)

--
Chris Crowther
Developer
J&M Crowther Ltd

May 12 '06 #5

P: n/a
Hello
There are no managed code to hook into the Windows DUN api. You will still
need to make use of the Win32 RAS api and do interop to achieve the same
funtionality.
Let me know if you have any more questions
Thanks
Khoj Ladha

"Chris Crowther" wrote:
Hi All,

Does anyone know if it's possible to hook into the DUN API from C#?
Any pointers in the direction of info would be appreciated as well :)

--
Chris Crowther
Developer
J&M Crowther Ltd

May 12 '06 #6

P: n/a
Walter Wang [MSFT] wrote:
This is a quick note to let you know that I am performing research on this
issue and will get back to you as soon as possible. I appreciate your
patience.
I think I've noticed a kludge: it looks like it may be possible to
create a default entry in the phonebook, open it and then just
update the structure members with the dynamic data, before finally
passing the structure to the dial function.
Walter Wang
Microsoft Online Community Support


--
Chris Crowther
Developer
J&M Crowther Ltd.
May 16 '06 #7

P: n/a
Hi Chris,

Thank you for your feedback.

Have you tried this? Would you mind letting us know the result? Thanks.

If you need further assistance, feel free to let us know. We will be more
than happy to be of assistance.

Have a great day!

Regards,

Walter Wang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

May 18 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.