FormUtility: This class is used to construct responses to
HTML forms. The class supports both standard HTML forms,
as well as multipart forms.
| C# | Visual Basic | Visual C++ |
public class FormUtility
Public Class FormUtility
public ref class FormUtility
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| FormUtility(Stream, String) |
Prepare to access either a regular, or multipart, form.
| |
| Add(String, String) |
Add a regular text field to either a regular or
multipart form.
| |
| AddFile(String, String) |
Add a file to a multipart form. Default mime type to
application/octet-stream.
| |
| AddFile(String, String, String) |
Add a file to a multipart form.
| |
| Complete()()() |
Complete the building of the form.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| getBoundary()()() |
Generate a boundary for a multipart form.
| |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| RandomString()()() |
Generate a random string, of a specified length. This
is used to generate the multipart boundary.
| |
| ToString()()() | (Inherited from Object.) | |
| Writeln(String) |
Write a string, with a carriage return and linefeed.
|
| Object | |
| FormUtility | |