Can you scan a car to get the true mileage?

The engine computer on some vehicles may store a fuel mileage estimate. The later model Dodge Rams with the Cummin's diesel store estimated gallons of fuel used and miles driven.