mirror of
https://github.com/netchx/netch.git
synced 2026-04-29 21:59:34 +08:00
Add files via upload
This commit is contained in:
13
Netch/NativeMethods.cs
Normal file
13
Netch/NativeMethods.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Netch
|
||||
{
|
||||
public static class NativeMethods
|
||||
{
|
||||
[DllImport("kernel32")]
|
||||
public static extern bool AllocConsole();
|
||||
|
||||
[DllImport("kernel32")]
|
||||
public static extern bool AttachConsole(uint dwProcessId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user