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); }
public IPageDTO PTOtoDTO(IPagePTO page) { return(page != null ? new PageDTO(page.IdPage, page.DescPage, page.Url, page.AppName, PTOtoDTO(page.TPage)) : null); }
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); }