Benign dotnet 29,676 installs Download

EdgePDF.Editor.AspNet.Edit.Graph.Star 12.3.5.65

“Add, remove Star graph to PDF file in web browser in ASP.NET web app: This package includes C# sample source code to edit PDF in web browse…”

Access to ASP.NET HttpContextimports System.Net

Evidence

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 …
Access to ASP.NET HttpContext DummyMiddleware.cs · lines 19–25
19:4… _next = next;
20 }
21
22 public Task Invoke(HttpContext httpContext, IMemoryCache memoryCache)
23 {
24 if (DummyPageUrl == "")
25 DummyPageUrl = getReque …
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 …
imports RasterEdge.Imaging.Basic.Core UserCommandProcessMiddleware.cs · lines 1–13
1using System;
2using RasterEdge.Imaging.Basic.Core;
3using RasterEdge.Imaging.Basic.Drawing;
4using RasterEdge.Imaging.Drawing;
5using RasterEdge.XDoc.PDF;
6using RasterEdge.XDoc.PDF.Builder;
7using RasterEdge.WDP;
8using RasterEdge.XDoc.PDF.HTML5Editor;
9
10namespace EdgePDFDemo
11{
12 // You may need to install the Microsoft.AspNetCore.Http.Abstractions package into your project
13 public class UserCommandP …
.NET ReadAllBytes method reference UserCommandProcessMiddleware.cs · lines 31–39
31:33… emp\" + docid);
32
33 byte[] dataBytes = System.IO.File.ReadAllBytes(@"C:\\temp\" + docid);
34 String fileName = docid;
35 return REProcessControl.PageLoadFile(request, this.Manager, dataBytes, fileName);
36 }
37 else
38 {
39 …

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.