Friday, 19 October 2007

Ch2, Lesson1 - Navigating the File System.

What are File System Classes?

  • System.IO - Set of classes to manipulate files, directories & drives.
  • file sys classes - informational & utility.
  • Informational - derive from FileSystemInfo base class. -> FileInfo, DirectoryInfo.
  • DriveInfo - not derived from FileSystemInfo.
  • Utility classes - provide static mthds to perform ops - incl File, Directory & Path classes.
  • Path - provides static mthds for manipulating a file system path.
  • FileSystemWatcher - provides mthds for monitoring file system directories for changes.
  • FileSystemWatcher - poss. to get more events generated than can be handled. FileSystemWatcher then throws Error event, which can be captured (by registering for it + turning events on).


No comments: