public static Uri GetSessionSyncEndpoint(this CaptivePortalSettings settings, string zonePath) { return(new Uri(settings.GetBaseUri(), settings.Endpoints.SessionSync.Replace("{zone}", zonePath))); }
public static Uri GetServerStatusCheckEndpoint(this CaptivePortalSettings settings) { return(new Uri(settings.GetBaseUri(), settings.Endpoints.ServerStatusCheck)); }
public static Uri GetAutoLogoutEndpoint(this CaptivePortalSettings settings) { return(new Uri(settings.GetBaseUri(), settings.Endpoints.AutoLogout)); }
public static Uri GetSessionTrafficExceeededPage(this CaptivePortalSettings settings, string zonePath) { return(new Uri(settings.GetBaseUri(), settings.Endpoints.TrafficExceededPage.Replace("{zone}", zonePath))); }
public static Uri GetSessionIdleTimeOutPage(this CaptivePortalSettings settings, string zonePath) { return(new Uri(settings.GetBaseUri(), settings.Endpoints.IdleTimeOutPage.Replace("{zone}", zonePath))); }
public static Uri GetLoginPage(this CaptivePortalSettings settings, string zonePath) { return(new Uri(settings.GetBaseUri(), settings.Endpoints.LoginPage.Replace("{zone}", zonePath))); }