![]() |
![]() ![]() ![]() |
WinHTTP component.
|
property HostName: Boolean; // Read-only !!
|
The HostName is optional and read-only property used to exctract the host name from the HTTP address specified in the URL property.
|
WinHTTP1.URL := 'http://www.abc.com/download/filename.zip';
|
Result := WinHTTP1.HostName;
|
// Result will be 'www.abc.com';
|
URL and FileName properties.
|