Add the method GetHostname in the LocalScan