public UserGetAuthSessionTicketResult GetAuthSessionTicket(System.IntPtr ticket, int maxTicket)
        {
            UserGetAuthSessionTicketResult result = new UserGetAuthSessionTicketResult();

            result.Result = GetAuthSessionTicket(ticket, maxTicket, out result.TicketLength);

            return(result);
        }
        public UserGetAuthSessionTicketResult GetAuthSessionTicket(System.IntPtr ticket, int maxTicket)
        {
            UserGetAuthSessionTicketResult result = new UserGetAuthSessionTicketResult();

            result.Result = GetAuthSessionTicket(ticket, maxTicket, out result.TicketLength);

            return result;
        }