Beispiel #1
0
 public static void ImportSystemInformation()
 {
     if (!Parameter.IsUnix)
     {
         return;
     }
     if (!NetworkInterface.GetAll().Any())
     {
         NetworkInterface.ImportNetworkInterface();
     }
     if (!SystemInfo.GetAll().Any())
     {
         SystemInfo.Import();
     }
     ConsoleLogger.Log("network interfaces imported");
 }