mirror of
https://github.com/netchx/netch.git
synced 2026-04-03 19:35:10 +08:00
feat: -console argument
This commit is contained in:
@@ -66,5 +66,11 @@ namespace Netch
|
||||
|
||||
[DllImport("dnsapi", EntryPoint = "DnsFlushResolverCache")]
|
||||
public static extern uint FlushDNSResolverCache();
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
public static extern bool AllocConsole();
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
public static extern bool AttachConsole(int dwProcessId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user