Indy 9
Example
TIdComponent.LocalName
  AHostEdit.Text := AClient.LocalName;

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.