Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IFileStreamSecurityValidator

    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IFileStreamSecurityValidator

    Methods

    View Source

    IsConsideredSafe(Stream)

    Analyzes wether the file content is considered safe with registered IFileStreamSecurityAnalyzers

    Declaration
    bool IsConsideredSafe(Stream fileStream)
    Parameters
    Type Name Description
    Stream fileStream

    Needs to be a Read seekable stream

    Returns
    Type Description
    System.Boolean

    Whether the file is considered safe after running the necessary analyzers

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • IsConsideredSafe(Stream)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX