Not sure if this will work as the resistance will be low on a short cable, but this might be a place for RCTIME.

Known capacitance find the resistance. Calculate for wire diameter.