FileInfo in C#

Mahesh Chand

This book is all about the FileInfo. The FileInfo class in the .NET Framework class library provides static methods for creating, reading, copying, moving, and deleting files using the FileStream objects.

  • Published on Jul 13 2012
  • Pages 16
  • Downloaded 10.8k
  • Type PDF
Download
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 35.3k
  • 0

Introduction:

 
Input and output (I/O) streaming is a process of reading data from and writing data to a storage medium. In the .NET Framework, the System.IO namespace and its sub namespaces contain the classes and other types to perform I/O operations.
 
The FileInfo class in the .NET Framework class library provides static methods for creating, reading, copying, moving, and deleting files using the FileStream objects.
 
This book covers the following topics:
  • Understand the FileInfo class
  • FileInfo properties
  • How to create a file
  • How to open and read files
  • How to write to the files
  • How to move, replace and delete files
  • How to encrypt and decrypt files