Files
Torch/Torch.Server/NativeMethods.cs

14 lines
276 B
C#

using System.Runtime.InteropServices;
namespace Torch.Server
{
public class NativeMethods
{
[DllImport("kernel32")]
public static extern bool AllocConsole();
[DllImport("kernel32")]
public static extern bool FreeConsole();
}
}