ResourceHandler Properties |
The ResourceHandler type exposes the following members.
Name | Description | |
---|---|---|
AutoDisposeStream |
When true the Stream will be Disposed when
this instance is Disposed. The default value for
this property is false.
| |
FilePath |
Path of the underlying file
| |
Headers |
Gets or sets the headers.
| |
MimeType |
Gets or sets the Mime Type.
| |
ResponseLength |
Gets or sets ResponseLength, when you know the size of your
Stream (Response) set this property. This is optional.
If you use a MemoryStream and don't provide a value
here then it will be cast and it's size used
| |
StatusCode |
Gets or sets the http status code.
| |
StatusText |
Gets or sets the status text.
| |
Stream |
Gets or sets the resource stream.
| |
Type |
Specify which type of resource handle represnets
|