ResourceHandlerFromStream Method  | 
Version 75.1.140 
            Gets the resource from a stream.
            
 
    Namespace: 
   CefSharp
    Assembly:
   CefSharp (in CefSharp.dll) Version: 75.1.140.0 (75.1.140.0)
Syntaxpublic static ResourceHandler FromStream(
	Stream stream,
	string mimeType = "text/html",
	bool autoDisposeStream = false
)
public:
static ResourceHandler^ FromStream(
	Stream^ stream, 
	String^ mimeType = L"text/html", 
	bool autoDisposeStream = false
)
Parameters
- stream
 - Type: System.IOStream
A stream of the resource. - mimeType (Optional)
 - Type: SystemString
Type of MIME. - autoDisposeStream (Optional)
 - Type: SystemBoolean
Dispose of the stream when finished with (you will only be able to serve one
            request). 
Return Value
Type: 
ResourceHandlerResourceHandler.
See Also