System::Net::FileWebResponse class

FileWebResponse class

Provides implementation of the WebResponse abstract class to work with the file system. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class FileWebResponse : public System::Net::WebResponse

Methods

MethodDescription
Close() overrideCloses the response stream.
FileWebResponse(System::SharedPtr<Uri>)Constructs a new instance.
get_ContentLength() overrideRTTI information.
get_ContentType() overrideReturns the MIME type of the resource.
get_Headers() overrideReturns the collection of the headers that are associated with the current response.
get_ResponseUri() overrideReturns the resource’s URI.
get_SupportsHeaders() overrideReturns a value that indicates if the current response supports headers.
GetResponseStream() overrideReturns the response stream.

See Also