Nonlocal electrical properties in mesoscopic devices