O'Reilly logo

Extending MFC Applications with the .NET Framework by Nishant Sivakumar, Tom Archer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

File System Classes

In addition to the Stream and Writer/Reader classes discussed so far, .NET Framework also provides a very powerful set of classes for encapsulating information and functionality that are suitable for processing files and directories. These classes, which also reside in the System.IO namespace, are listed in Table 3-4.

Now let's see just what these classes can provide for us and how best to utilize them.

Table 3-4. File System Classes in the System::IO Namespace
ClassDescription
FileSystemInfoThe abstract base class for FileInfo and DirectoryInfo objects, this class contains methods that are common to both file and directory manipulation. As this is the base class for both, it is useful when writing polymorphic code that must ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required