State the underlying principle of a potentiometer

When a constant current flows through a wire, the potential different e between any two points on the wire of uniform cross-section, is directly proportional to the length of the wire between these points.