feat: 配置板子网络时,更新动态mac
This commit is contained in:
@@ -23,7 +23,7 @@ public static class MsgBus
|
||||
/// <returns>无</returns>
|
||||
public async static void Init()
|
||||
{
|
||||
if (!Arp.IsAdministrator())
|
||||
if (!ArpClient.IsAdministrator())
|
||||
{
|
||||
logger.Error($"非管理员运行,ARP无法更新,请用管理员权限运行");
|
||||
// throw new Exception($"非管理员运行,ARP无法更新,请用管理员权限运行");
|
||||
|
||||
Reference in New Issue
Block a user