public float GetGpuTemp(string gpuName) { try { var temp = InputChannel.GetGpuTemp(gpuName); return(temp); } catch (EndpointNotFoundException) { return(-1); } catch (CommunicationException) { return(-1); } }
public float GetGpuTemp(string gpuName) { try { var temp = InputChannel.GetGpuTemp(gpuName); return(temp); } catch (EndpointNotFoundException) { return(-1); } catch (CommunicationException) { return(-1); } }