mirror of
https://github.com/netchx/netch.git
synced 2026-04-01 19:15:09 +08:00
trim
This commit is contained in:
@@ -5,8 +5,6 @@ namespace Netch.Models
|
||||
{
|
||||
public interface IAdapter
|
||||
{
|
||||
string AdapterId { get; }
|
||||
|
||||
int InterfaceIndex { get; }
|
||||
|
||||
IPAddress Gateway { get; }
|
||||
|
||||
@@ -29,9 +29,7 @@ namespace Netch.Models
|
||||
Logging.Info($"出口适配器:{NetworkInterface.Name} {NetworkInterface.Id} {NetworkInterface.Description}, index: {InterfaceIndex}");
|
||||
}
|
||||
|
||||
public IPAddress Address { get; set; }
|
||||
|
||||
public string AdapterId => throw new NotImplementedException();
|
||||
public IPAddress Address { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 索引
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.NetworkInformation;
|
||||
using Netch.Controllers;
|
||||
using Netch.Interops;
|
||||
using Netch.Utils;
|
||||
|
||||
@@ -19,7 +17,6 @@ namespace Netch.Models
|
||||
Logging.Info($"WinTUN 适配器:{NetworkInterface.Name} {NetworkInterface.Id} {NetworkInterface.Description}, index: {InterfaceIndex}");
|
||||
}
|
||||
|
||||
public string AdapterId => throw new NotImplementedException();
|
||||
|
||||
public int InterfaceIndex { get; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user