Exemplo n.º 1
0
        public static String LoginPage()
        {
            var      HostName = System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName()).HostName;
            IPagePTO lpg      = PgServI.Instance.LoginPage();

            return(lpg == null ? String.Empty : (FormsAuthentication.RequireSSL ? "https://" : "http://") + HostName + "/" + lpg.AppName + lpg.Url);
        }
Exemplo n.º 2
0
 public IPageDTO PTOtoDTO(IPagePTO page)
 {
     return(page != null ? new PageDTO(page.IdPage, page.DescPage, page.Url, page.AppName, PTOtoDTO(page.TPage)) : null);
 }
Exemplo n.º 3
0
        public static String RUrl(IPagePTO pg)
        {
            var HostName = System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName()).HostName;

            return(pg == null ? String.Empty : (FormsAuthentication.RequireSSL ? "https://" : "http://") + HostName + "/" + pg.AppName + pg.Url);
        }