EdgePDF.Viewer.AspNet.Annotate 12.3.5.65
“C# PDF Viewer web control for ASP.NET Core web app to read, view, markup, comment PDF files in web browser in ASP.NET Core web app.”
Access to ASP.NET HttpContextimports System.Net
SHA-256f0134668b6bae5837cd5f9b7bc5ad570bec4a277edf4dee1275bb2c22284dd3b
MaleculeH₂(Cm₃F)
Evidence
1using System;
2using RasterEdge.Imaging.Basic;
3using RasterEdge.WDP;
4using RasterEdge.WDP.Manager;
5using RasterEdge.XDoc.PDF;
6using RasterEdge.XDoc.PDF.HTML5Editor;
7
8namespace EdgePDFDemo
9{
10 // You may need to install the Microsoft.AspNetCore.Http.Abstractions package into your project
11 public class UserCommandP …
21:3… */
22 public override PDFWebDocument? FileProcess(REHttpContext context)
23 {
24 HttpRequest request = context.Request;
25
26 if (!String.IsNullOrEmpty(request.Query[ …
36:50… Request if has.
37 if (!String.IsNullOrEmpty(request.Query["file_author"]))
38 viewerSettings.FileAuthor = request.Query["file_author"];
39
40 // Load the target PDF file.
41 byte[] dataBytes = File.ReadAllBytes(@"C:\\temp\" + docid);
42
43 return REProcessControl.PageLoadFile(request, dataBytes, viewerSettings);
44 …
1using System;
2using System.Net;
3using Microsoft.Extensions.Primitives;
4using Microsoft.Extensions.Caching.Memory;
5using RasterEdge.WDP;
6
7namespace EdgePDFDemo
8{
9 // You may need to install the Microsoft.AspNetCore.Http.Abstractions package into your project
10 public class DummyMiddlew …
39:43… acheItemKey expired.", LogType.DEBUG);
40 WebClient client = new WebClient();
41 client.DownloadData(DummyPageUrl);
42 }
43 catch (Exception)
44 {
45 }
46
47 }, this);
48
49 memoryCache.Set<String>(DummyCacheItemKey, DateTime.Now.ToString(), cacheE …
No evidence locations were recorded for this file. Raw result