SocketTools .NET Edition

HttpClient.GetData Method

Transfer data from the web server and store it in a local buffer.

Overload List

Transfer data from the web server and store it in a local buffer.

public bool GetData(byte[],ref int);

Retrieve data from a web server and store it in a byte array.

public bool GetData(string,byte[],ref int);

Retrieve data from a web server and store it in a byte array.

public bool GetData(string,byte[],ref int,HttpTransferOptions);

Retrieve data from a web server and store it in a MemoryStream.

public bool GetData(string,MemoryStream);

Retrieve data from a web server and store it in a MemoryStream.

public bool GetData(string,MemoryStream,HttpTransferOptions);

Retrieve data from a web server and store it in a string buffer.

public bool GetData(string,ref string);

Retrieve data from a web server and store it in a string buffer.

public bool GetData(string,ref string,HttpTransferOptions);

Retrieve data from a web server and store it in a string buffer.

public bool GetData(ref string);

See Also