http HostName property
Return to Introduction  Previous page  Next page
Applies to
auHTTP component.  

Declaration
property HostName: Boolean; // Read-only !!  

Description
The HostName is optional and read-only property used to exctract the host name from the HTTP address specified in the URL property.  

Example
auHTTP1.URL := 'http://www.abc.com/download/filename.zip';  
Result := auHTTP1.HostName;  
// Result will be 'www.abc.com';  

See also
URL and FileName properties.  
File not found.