Example #1
0
        public static VersionModel GetModel()
        {
            string meminfoContent = "";

            meminfoContent = LinqFiles.GetFileText("/proc/version");

            var meminfo = TextToJson.Version(meminfoContent);

            return(meminfo);
        }
Example #2
0
        public static List <MeminfoModel> GetModel()
        {
            string meminfoContent = "";

            meminfoContent = LinqFiles.GetFileText("/proc/meminfo");

            var meminfo = TextToJson.Meminfo(meminfoContent);

            return(meminfo);
        }