DEXTUpload.NET Professional
menu toggleReferences > DEXTUpload.NET > FileSignatureMethod

DEXTUpload.NET
Enumeration FileSignatureMethod

The minimum supported version
5.2.0.0
The minimum support environment
.NET Framework 4.0
Explanation

The "FileSignatureMethod" enumeration type represents manners for inspecting a file signature.

It is used as the value of the "methodFileSignatureChecking" attribute of the "settings" element of the "dextupload.net" section in the "Web.config" file.

<dextupload.net>
    <!-- noChecking, absenceNotAllow, absenceOrSame -->
    <settings 
        ...
        methodFileSignatureChecking="noChecking"
        ... />
</dextupload.net>
Type
public enum FileSignatureMethod
Members

NoChecking

  • Not running the file signature check. It is default.

AbsenceNotAllow

  • When the target to perform a signature inspecting does not match the result of the test or it does not exist in the signature data, the file will be excluded.

    When a file is excluded, an exception occurs, or if the "FilterAction" is "Flushing", the component creates a temporary file of 0 without error.

AbsenceOrSame

  • When the target to perform a signature inspecting exists in the signature data and matches the result of the test, the file will be passed.

    When targets are text files, since the information to be able to scan the files in text format is not in the signature resources, so if the method of inspecting is specified the "AbsenceNotAllow", the targets in text format will be always filtered. Therefore, it must be skipped from checking using the value of "AbsenceOrSame".