Benign dotnet 29,638 installs Download

EdgePDF.Editor.AspNet.Edit.Markup.Text.Comment 12.3.5.65

“Add Text Comment to PDF file in web browser in ASP.NET web app: This package includes C# sample source code to edit PDF in web browser and…”

Access to ASP.NET HttpContextimports System.Net

Evidence

imports RasterEdge.WDP UserCommandProcessMiddleware.cs · lines 1–10
1using System;
2using System.Text;
3using RasterEdge.WDP;
4using RasterEdge.XDoc.PDF;
5using RasterEdge.XDoc.PDF.HTML5Editor;
6
7namespace EdgePDFDemo
8{
9 // You may need to install the Microsoft.AspNetCore.Http.Abstractions package into your project
10 public class UserCommandP …
Access to ASP.NET HttpContext UserCommandProcessMiddleware.cs · lines 15–21
15:3… }
16
17 public override PDFWebDocument FileProcess(REHttpContext context)
18 {
19 HttpRequest request = context.Request;
20
21 if (!String.IsNullOrEmpty(request.Query[ …
.NET ReadAllBytes method reference UserCommandProcessMiddleware.cs · lines 25–32
25:31… ull) docid = "0";
26 byte[] dataBytes = System.IO.File.ReadAllBytes(@"C:\\temp\" + docid);
27 String fileName = docid;
28 return REProcessControl.PageLoadFile(request, this.Manager, dataBytes, fileName);
29 }
30 else
31 {
32 …
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.