Measuring conductivity by direct contact