Detection and manipulation of metallic and magnetic nanostructures by