Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void AddField(string, string)

Declaration

public void AddField(
    string name,
    string value
)

Summary

Adds a named text value to the POST request.

Parameters

stringname The name of the value to add. For maximum compatibility with servers, use only printable ASCII characters in this name. This field is encoded using UTF-8, which is supported by some modern servers, but not by others.
stringvalue The content to add as the value. Note that this is interpreted as Unicode text, and is a poor choice for binary data. For binary data, see MultipartFormDataHelper.AddFile(string, string, string).