예제 #1
0
 public static void RestoreDefaultTapMetric(uint index)
 {
     AssertSuccess(() => PInvoke.RestoreDefaultTapMetric(index));
 }
예제 #2
0
 public static void DeleteDefaultGatewayForIface(uint index, string gatewayAddr)
 {
     AssertSuccess(() => PInvoke.DeleteDefaultGatewayForIface(index, gatewayAddr));
 }
예제 #3
0
 public static void SetLowestTapMetric(uint index)
 {
     AssertSuccess(() => PInvoke.SetLowestTapMetric(index));
 }
예제 #4
0
 public static void EnableIPv6(string appName, string interfaceId)
 {
     AssertSuccess(() => PInvoke.EnableIPv6(appName, interfaceId));
 }
예제 #5
0
 public static void DisableIPv6OnAllAdapters(string appName, string excludeId)
 {
     AssertSuccess(() => PInvoke.DisableIPv6OnAllAdapters(appName, excludeId));
 }
예제 #6
0
 public static void DeleteDefaultGatewayForIface(Guid guid, string gatewayAddr)
 {
     AssertSuccess(() => PInvoke.DeleteDefaultGatewayForIface(ref guid, gatewayAddr));
 }
예제 #7
0
 public static void RestoreDefaultTapMetric(Guid guid)
 {
     AssertSuccess(() => PInvoke.RestoreDefaultTapMetric(ref guid));
 }
예제 #8
0
 public static void SetLowestTapMetric(Guid guid)
 {
     AssertSuccess(() => PInvoke.SetLowestTapMetric(ref guid));
 }