Example #1
0
        public static AppManifestRow GetAppManifestRow()
        {
            AppManifestManager lcAppManifestManager;

            lcAppManifestManager = new AppManifestManager(Mode.Auto);

            return(lcAppManifestManager.ActiveRow);
        }
Example #2
0
        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();
        }
Example #3
0
        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();
        }