Home All Groups Group Topic Archive Search About

RRAS API and .net Framework

Author
6 Sep 2006 11:55 PM
Frédéric ESNOUF (ISA MVP)
Hi guys,

I used to work VB6 to automate a few processes through the RRAS API such as
launch a VPN connection, get the current login name used to connect via this
VPN connection,  ... most of these functions are in the rasapi32.dll.

I wonder if there is an easy way to get those functions through the
framework... and if some of you have some samples.

Thanks for your help

Regards

--

Frédéric ESNOUF (MCSE - ISA MVP)
Email : frede***@esnouf.net
Visit ISAServerFR.org
You plan to implement Quarantine on ISA 2004 ?
Check this : http://www.esnouf.net/qss_main.htm
Download QSS, learn with videos and screenshots...
Buy my book onine : www.esnouf.net, and click the Amazon link.

Author
7 Sep 2006 6:09 PM
Dave Kreskowiak
You'll have to do it the same way you did in VB6.  There's nothing in the
..NET BCL that supports RRAS.

--
<i><b>RageInTheMachine9532</b></i><font size="-2">
"<i>...a pungent, ghastly, stinky piece of cheese!</i>" <b>-- The Roaming
Gnome</b></font>


Show quoteHide quote
"Frédéric ESNOUF (ISA MVP)" wrote:

> Hi guys,
>
> I used to work VB6 to automate a few processes through the RRAS API such as
> launch a VPN connection, get the current login name used to connect via this
> VPN connection,  ... most of these functions are in the rasapi32.dll.
>
> I wonder if there is an easy way to get those functions through the
> framework... and if some of you have some samples.
>
> Thanks for your help
>
> Regards
>
> --
>
> Frédéric ESNOUF (MCSE - ISA MVP)
> Email : frede***@esnouf.net
> Visit ISAServerFR.org
> You plan to implement Quarantine on ISA 2004 ?
> Check this : http://www.esnouf.net/qss_main.htm
> Download QSS, learn with videos and screenshots...
> Buy my book onine : www.esnouf.net, and click the Amazon link.
>
>
>
Author
11 Sep 2006 6:52 PM
Frédéric ESNOUF (ISA MVP)
Thanks !

--

Frédéric ESNOUF (MCSE - ISA MVP)
Email : frede***@esnouf.net
Visit ISAServerFR.org
You plan to implement Quarantine on ISA 2004 ?
Check this : http://www.esnouf.net/qss_main.htm
Download QSS, learn with videos and screenshots...
Buy my book onine : www.esnouf.net, and click the Amazon link.
Show quoteHide quote
"Dave Kreskowiak" <DaveKreskow***@discussions.microsoft.com> wrote in
message news:8DE8EAB4-EC5C-4307-95B1-839AD0462FDF@microsoft.com...
> You'll have to do it the same way you did in VB6.  There's nothing in the
> .NET BCL that supports RRAS.
>
> --
> <i><b>RageInTheMachine9532</b></i><font size="-2">
> "<i>...a pungent, ghastly, stinky piece of cheese!</i>" <b>-- The Roaming
> Gnome</b></font>
>
>
> "Frédéric ESNOUF (ISA MVP)" wrote:
>
>> Hi guys,
>>
>> I used to work VB6 to automate a few processes through the RRAS API such
>> as
>> launch a VPN connection, get the current login name used to connect via
>> this
>> VPN connection,  ... most of these functions are in the rasapi32.dll.
>>
>> I wonder if there is an easy way to get those functions through the
>> framework... and if some of you have some samples.
>>
>> Thanks for your help
>>
>> Regards
>>
>> --
>>
>> Frédéric ESNOUF (MCSE - ISA MVP)
>> Email : frede***@esnouf.net
>> Visit ISAServerFR.org
>> You plan to implement Quarantine on ISA 2004 ?
>> Check this : http://www.esnouf.net/qss_main.htm
>> Download QSS, learn with videos and screenshots...
>> Buy my book onine : www.esnouf.net, and click the Amazon link.
>>
>>
>>