Share via


StaticFileOptions.ServeUnknownFileTypes Property

 

If the file is not a recognized content-type should it be served? Default: false.

Namespace:   Microsoft.Owin.StaticFiles
Assembly:  Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)

Syntax

public bool ServeUnknownFileTypes { get; set; }
public:
property bool ServeUnknownFileTypes {
    bool get();
    void set(bool value);
}
member ServeUnknownFileTypes : bool with get, set
Public Property ServeUnknownFileTypes As Boolean

Property Value

Type: System.Boolean

Returns Boolean.

See Also

StaticFileOptions Class
Microsoft.Owin.StaticFiles Namespace

Return to top