// 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())); }
// 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))); }
// 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())); }