Пример #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));
 }