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