Aspose::Pdf::FileChecker::IsContentSafe method

FileChecker::IsContentSafe method

Checks the content of files to identify dangerous content. By checking the content, we do not allow adding dangerous content from a text file via stream.

static bool Aspose::Pdf::FileChecker::IsContentSafe(System::SharedPtr<System::IO::Stream> stream)
ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>The content stream.

ReturnValue

True if check passed.

See Also