What Is FileInfo?

This section describes what is FileInfo - a .NET Framework class in the System.IO namespace. FileInfo class can be used to represent files in a file system to allow you to retrieve file storage information, retrieve and set other file attributes.

What Is FileInfo? FileInfo is .NET Framework class under namespace of System.IO.

System.IO.FileInfo class can be used to represent files in a file system to allow you to retrieve file storage information, retrieve and set other file attributes. System.IO.FileInfo class can also be used to create, copy, delete or move files in the file system.

System.IO.FileInfo class can not be use retrieve version information stored inside PE (Portable Executable) files, .exe and .dll files. See System.Diagnostics.FileVersionInfo class on how to retrieve version information from PE files.

.NET Framework classes related to files and file systems:

Last update: 2012.

Table of Contents

 About This Book

 Introduction of C# (C Sharp)

 Data Type and Variables

 Logical Expressions and Conditional Statements

 Arrays and Loop Statements

 Data Type Features

 Floating-Point Data Types

 Passing Parameters to Methods

 Execution Environment Class

 Visual C# 2010 Express Edition

 Class Features

 C# Compiler and Intermediate Language

 Compiling C# Source Code Files

 MSBuild - Microsoft Build Engine

 Memory Usages of Processes

 Multithreading in C#

 Async Feature from C# 5

System.IO.FileInfo Class

What Is FileInfo?

 Public Properties and Methods of FileInfo Class

 Creating FileInfo Objects

 FileVersionCopyFile.cs - Testing CopyTo() Method

 System.Diagnostics.FileVersionInfo Class

 WPF - Windows Presentation Foundation

 Partial Classes and Partial Methods

 Outdated Tutorials

 References

 PDF Printing Version