Name | Description | |
---|---|---|
![]() ![]() | Age | Calculates the duration since the last modification or creation of the specified file. |
![]() ![]() | ContainsMoreThanOrEqualTo | Determines whether a file contains padding that exceeds a specified percentage of its total size. This method is particularly useful for identifying files that may use excessive padding as a technique to evade malware detection, as some malicious software may add significant padding to alter the file's signature or hash value, making it harder to identify based on known patterns. |
![]() ![]() | CountPaddingBytes | Determines the number of padding bytes at the end of the file. |
![]() ![]() | CountPaddingBytesChunked | Reads the amount of padding at the end of a disk file. |
![]() ![]() | FileIsEqualToIgnoringPadding | Compares the binary content of two files to determine if they are identical, excluding any differences in padding (trailing zeros). |
![]() ![]() | ReadBinary | Reads the content of a file and returns it as a byte array. |
![]() ![]() | TryRead | Attempts to read the contents of a file into a string without acquiring an exclusive lock on the file. |