add a API to get host property.