/// <summary> /// Builds the url for the Handler. /// </summary> /// <returns>The encoded url.</returns> private string GetUrl() { string url = ResolveUrl(RenderUrl); url += "?" + KEY + "=" + WebManager.Encrypt(EncodeTicket(), DateTime.Now.AddSeconds(Expiration)); return(url); }