/** * <summary> * Resets the pulse counter value as well as its timer. * <para> * </para> * </summary> * <returns> * <c>0</c> if the call succeeds. * </returns> * <para> * On failure, throws an exception or returns a negative error code. * </para> */ public virtual int resetCounter() { if (_func == null) { throw new YoctoApiProxyException("No Proximity connected"); } return(_func.resetCounter()); }