Remove AdapterUtil

This commit is contained in:
ChsBuffer
2021-03-28 03:29:24 +08:00
parent 8d6e4bdd96
commit 6c668684e9
4 changed files with 7 additions and 55 deletions

View File

@@ -41,6 +41,9 @@ namespace Netch
[DllImport("RouteHelper.bin", CallingConvention = CallingConvention.Cdecl, EntryPoint = "DeleteRoute")]
public static extern bool DeleteRoute(int inet, string address, int cidr, string gateway, int index, int metric = 0);
[DllImport("RouteHelper.bin", CallingConvention = CallingConvention.Cdecl)]
public static extern ulong ConvertLuidToIndex(ulong luid);
[DllImport("dnsapi", EntryPoint = "DnsFlushResolverCache")]
public static extern uint FlushDNSResolverCache();
}