mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
Fix repository
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Netch;
|
||||
|
||||
public static class NativeMethods
|
||||
{
|
||||
[DllImport("dnsapi", EntryPoint = "DnsFlushResolverCache")]
|
||||
public static extern uint RefreshDNSCache();
|
||||
}
|
||||
Reference in New Issue
Block a user