Reads files from the filesystem and pages from servers via HTTP.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class Reader
Public Class Reader
public ref class Reader
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
Reader(Configuration) |
Constructs a new Reader instance.
| |
CheckRedirection(WebRequest, WebResponse) |
Checks if a redirection occurred - and returns true if it was to the error page specified in Configuration.ErrorPageRedir
| |
Configuration |
Gets the instance of the Configuration class that holds the settings to be used.
| |
DecompressStream(String, Stream) |
Decompresses the response stream if compressed with 'deflate' or 'gzip', if not compressed with either
then the original stream is returned.
| |
Equals(Object) |
Determines whether the specified Object is equal to the current 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.) | |
GetFileType(Uri) |
Retrieves the mime-type for the specified Uri
| |
GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetLastModifiedDate(Uri) |
Gets the date the file was last modified
| |
GetStream(Uri) |
Returns the document at uri as a stream.
| |
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
LastContentDispositionFilename |
If not null/Nothing, is the last filename specified by Content-Disposition header.
| |
LastResponseContentLength |
The length of the content in the response, or -1 if no information available.
| |
LastResponseEncoding |
The name of the encoding used with the most recent response. This may be empty or null.
| |
LastResponseFileType |
The mimetype returned in the last reponse obtained.
| |
LastResponseLastModifiedDate |
The last-modified-date returned in the last reponse obtained.
| |
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
Request(Uri) |
Creates a request to Uri and returns the response from the server.
| |
ResponseUri |
The Uri given in the response from the server.
| |
TestUri(Uri, Configuration) |
Tests a Uri, returning the WebException that occurred, or null/nothing if there wasn't one.
| |
ToString()()() |
Returns a String that represents the current Object.
(Inherited from Object.) |
Inheritance Hierarchy
Object | |
Reader |