public static AppManifestRow GetAppManifestRow() { AppManifestManager lcAppManifestManager; lcAppManifestManager = new AppManifestManager(Mode.Auto); return(lcAppManifestManager.ActiveRow); }
public static void ResponseiOSManifest(HttpContext paHttpContext, Mode paMode = Mode.Auto) { AppManifestManager lcAppManifestManager; lcAppManifestManager = new AppManifestManager(paMode); paHttpContext.Response.AddHeader("Content-Disposition", "attachment; filename=webclip.mobileconfig"); paHttpContext.Response.ContentType = "text/plain"; paHttpContext.Response.Write(lcAppManifestManager.GetiOSManifestContent()); paHttpContext.Response.End(); }
public static void ResponseAndriodManifest(HttpContext paHttpContext, Mode paMode = Mode.Auto) { AppManifestManager lcAppManifestManager; lcAppManifestManager = new AppManifestManager(paMode); paHttpContext.Response.AddHeader("Content-Disposition", "attachment; filename=manifest.json"); paHttpContext.Response.ContentType = "text/plain"; paHttpContext.Response.Write(lcAppManifestManager.GetAndriodManifestContent()); paHttpContext.Response.End(); }