SocketTools .NET Edition

HttpClient.PostFile Method

Submit the contents of a file to the current resource using default options.

Overload List

Submit the contents of a file to the current resource using default options.

public bool PostFile(string);

Submit the contents of a file to a resource on the server.

public bool PostFile(string,string);

Submit the contents of a file to a resource on the server using the specified form field name.

public bool PostFile(string,string,string);

See Also