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

            lcAppManifestManager = new AppManifestManager(Mode.Auto);

            return(lcAppManifestManager.ActiveRow);
        }
예제 #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();
        }
예제 #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();
        }