
Zitat von
sakura:
musst Du den Namespace System.Web nutzen
Sorry

es ist der Namespace
System.Net
Hier mal ein Beispiel zum Download einer Webseite

Ich wollte es mal wissen
Delphi-Quellcode:
procedure TWinForm.Button1_Click(sender: System.Object; e: System.EventArgs);
var
A: array of Byte;
begin
A := WebClient.Create.DownloadData('http://www.delphipraxis.com/');
MessageBox.Show(Convert.ToString(A));
end;
...

...