Solution 1:

Yes that’s complete correct. Of course you do have to know (theorem for you?) that $X^\ast$ is indeed Hausdorff when $X$ is locally compact Hausdorff.