using Vinno.vCloud.FIS.CrossPlatform.Common; using Vinno.vCloud.FIS.CrossPlatform.Common.Enum; using Vinno.vCloud.FIS.CrossPlatform.Common.Helper; using Vinno.vCloud.FIS.CrossPlatform.Linux.Hardware; namespace Vinno.vCloud.FIS.CrossPlatform.Linux { public class FISLinux { public static string? FISLogPath { get; private set; } /// /// Initilize for windows platform. /// public static void Initialize(string fisLogPath) { CrossPlatformHelper.Instance.Platform = EnumPlatform.Linux; if (string.IsNullOrEmpty(fisLogPath)) { FISLogPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "FISLogs"); } else { FISLogPath = fisLogPath; } DirectoryHelper.CreateDirectory(FISLogPath); CpuInfo.Initialize();// initialize cpu info } } }