RRAS API and .net Framework

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Frédéric ESNOUF \(ISA MVP\)

    #1

    RRAS API and .net Framework

    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 : frederic@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.


  • Dave Kreskowiak

    #2
    RE: RRAS API and .net Framework

    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>RageInThe Machine9532</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 : frederic@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.
    >
    >
    >

    Comment

    • Frédéric ESNOUF \(ISA MVP\)

      #3
      Re: RRAS API and .net Framework

      Thanks !

      --

      Frédéric ESNOUF (MCSE - ISA MVP)
      Email : frederic@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.
      "Dave Kreskowiak" <DaveKreskowiak @discussions.mi crosoft.comwrot e in
      message news:8DE8EAB4-EC5C-4307-95B1-839AD0462FDF@mi crosoft.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>RageInThe Machine9532</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 : frederic@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.
      >>
      >>
      >>

      Comment

      Working...