A command line utility written in C# to list VPN users currently connected on a given RRAS server (-s flag), or on all RRAS servers in a given domain (-do flag), using current user credentials by default, or using specified username (-au flag) and specified password (-ap flag) . The information should be in tab delimited format. Example:
C:\> listrras -s myrrasserver
server? ? ? ? username? ? ? ? ipaddress
myrasserver? ? ? ? vpn_test? ? ? ? [login to view URL]
myrasserver? ? ? ? vpn_test2? ? ? ? [login to view URL]
C:\> listrras -do [login to view URL] -au administrator -ap adminpassword
server? ? ? ? username? ? ? ? ipaddress
myrasserver? ? ? ? vpn_test? ? ? ? [login to view URL]
myrasserver? ? ? ? vpn_test2? ? ? ? [login to view URL]
myrasserver2? ? ? ? vpn_test3? ? ? ? [login to view URL]
It appears the relevant API calls are found in router administration functions ([login to view URL]). See ? [login to view URL](VS.85).aspx? which describes this.
## Deliverables
The deliverable should be a Visual Studio 2005 or 2008 solution which compiles to produce the required command line executable. The executable should run in? in Windows XP, Vista, Server 2003, Server 2008.