HttpPostedFile::InputStream Property

 

Gets a Stream object that points to an uploaded file to prepare for reading the contents of the file.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
property Stream^ InputStream {
	Stream^ get();
}

Property Value

Type: System.IO::Stream^

A Stream pointing to a file.

The following code example shows how to read the contents of the first file in the client's file collection into a byte array, and then copy the byte array to a string.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: