// GET api/Nvidia
        //Returns list of current GPU's attached with their respective adapterID's.
        public object GetOverview()
        {
            NvidiaModelAccessor nvidiaModelInstance = new NvidiaModelAccessor();

            return(Utilities.Utilities.DeSerialiseObject(nvidiaModelInstance.GetOverview()));
        }
Esempio n. 2
0
        // GET api/Memory/{Graphics card ID} (Memory Settings for all Graphics Cards)
        public object Get(int id)
        {
            NvidiaModelAccessor nvidiaModelInstance = new NvidiaModelAccessor();

            return(Utilities.Utilities.DeSerialiseObject(nvidiaModelInstance.GetMemorySettings(id, true)));
        }
Esempio n. 3
0
        // GET: api/Clock/{Graphics Card ID} (Clock Speeds of a particular Graphics Cards.)
        public object Get()
        {
            NvidiaModelAccessor nvidiaModelInstance = new NvidiaModelAccessor();

            return(Utilities.Utilities.DeSerialiseObject(nvidiaModelInstance.GetClockSettings()));
        }