Summary

Working with files, directories, and drives is a common requirement for each application. The .NET Framework provides two main classes for working with directories: System.IO.Directory and System.IO.Path. The first one enables you to perform operations such as creating, moving, renaming, and investigating for filenames. The second one is about directory and filename manipulation other than gaining access to Windows temporary folder. Similar to Directory, the System.IO.DirectoryInfo class provides access to directory operations and information, but the difference is that an instance of such a class represents a single directory. If you instead need to get information on physical drives on your machine, create an instance of the System.IO.DriveInfo ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.