Click or drag to resize

ExtensionsFileInfo Class

Provides usefull extension methods for the FileInfo class
Inheritance Hierarchy
SystemObject
  CauldronExtensionsFileInfo

Namespace:  Cauldron
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static class ExtensionsFileInfo

The ExtensionsFileInfo type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDeleteAsync
Deletes the current file.
Public methodStatic memberGetDateModifiedAsync
Gets the timestamp of the last time the file was modified. (Wrapper for LastAccessTime to match with UWP)
Public methodStatic memberGetUniqueFilename
Checks if the filename exist. If the file already exists, an indexer will be added to the filename to make it unique.
Public methodStatic memberRename
Renames a file.
Public methodStatic memberToFileInfo
Converts a string to a FileInfo
Public methodStatic memberWaitUntilFileIsAccessableAsync(FileInfo)
Waits for a file to be accessable. The default waiting period is 1.5s.
Public methodStatic memberWaitUntilFileIsAccessableAsync(FileInfo, UInt32)
Waits for a file to be accessable. The default waiting period is 1.5s.
Public methodStatic memberWaitUntilFileIsAccessableAsync(FileInfo, UInt32, TimeSpan)
Waits for a file to be accessable.
Top
See Also