Benign dotnet 29,867 installs Download

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

Evidence

imports RasterEdge.Imaging.Basic UserCommandProcessMiddleware.cs · lines 1–11
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 …
Access to ASP.NET HttpContext UserCommandProcessMiddleware.cs · lines 21–26
21:3… */
22 public override PDFWebDocument? FileProcess(REHttpContext context)
23 {
24 HttpRequest request = context.Request;
25
26 if (!String.IsNullOrEmpty(request.Query[ …
Reads C# authentication request parameter UserCommandProcessMiddleware.cs · lines 36–44
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 …
imports System.Net DummyMiddleware.cs · lines 1–10
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 …
WebClient.DownloadData method DummyMiddleware.cs · lines 39–49
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

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.