Skip to main content

Posts

Showing posts with the label FileSystemWatcher

.Net and File System

What are File System Classes ?                                     System.IO namespace contains classes to obtain information and manipulate file, directories and drives. Most of the classes inherit from FileSystemInfo , and they are named like FileInfo , DirectoryInfo . DriveInfo class provides information about a drive but it doesn’t inherit from FileSystemInfo. Utility classes expose static methods to perform certain operations on FileSystem. These classes include File , Directory , and Path . FileSystemInfo Class : Public Methods: Name Description Delete Deletes a file or directory. Refresh Refreshes the state of the object. Public Properties: Name Description Attributes Gets or sets the FileAttributes of the c...