Walter.IO
FileInfoExtensions Class Methods


Walter.IO Assembly > Walter.IO Namespace : FileInfoExtensions Class

For a list of all members of this type, see FileInfoExtensions members.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic) Calculates the duration since the last modification or creation of the specified file.  
Public Methodstatic (Shared in Visual Basic) 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.  
Public Methodstatic (Shared in Visual Basic) Determines the number of padding bytes at the end of the file.  
Public Methodstatic (Shared in Visual Basic) Reads the amount of padding at the end of a disk file.  
Public Methodstatic (Shared in Visual Basic) Compares the binary content of two files to determine if they are identical, excluding any differences in padding (trailing zeros).  
Public Methodstatic (Shared in Visual Basic) Reads the content of a file and returns it as a byte array.  
Public Methodstatic (Shared in Visual Basic) Attempts to read the contents of a file into a string without acquiring an exclusive lock on the file.  
Top
Extension Methods
 NameDescription
Public Extension Method implements parsing to cast a type from string to a type
Top
See Also

Reference

FileInfoExtensions Class
Walter.IO Namespace