public static RAS_PROJECTION_INFO GetProjectionInfoEx(IntPtr hConn)
        {
            RAS_PROJECTION_INFO info = new RAS_PROJECTION_INFO();

            info.version = 4;
            int dwSize = Marshal.SizeOf <RAS_PROJECTION_INFO>();

            Checked("GetProjectionInfoEx", VpnNative.RasGetProjectionInfoEx(hConn, ref info, ref dwSize));
            return(info);
        }
 public static extern uint RasGetProjectionInfoEx(IntPtr hRasConn, ref RAS_PROJECTION_INFO info, [In, Out] ref int bufferSize);