public static VersionModel GetModel() { string meminfoContent = ""; meminfoContent = LinqFiles.GetFileText("/proc/version"); var meminfo = TextToJson.Version(meminfoContent); return(meminfo); }
public static List <MeminfoModel> GetModel() { string meminfoContent = ""; meminfoContent = LinqFiles.GetFileText("/proc/meminfo"); var meminfo = TextToJson.Meminfo(meminfoContent); return(meminfo); }