TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
About FileInfo
Share
facebook
twitter
linkedIn
Reddit
Topics
No topic found
Content Filter
Articles
Videos
Blogs
News
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Mahesh Chand (10)
Manisha Mehta (2)
Rohatash Kumar (1)
Akkiraju Ivaturi (1)
Jin Necesario (1)
Scott Lysle (1)
Vidya Vrat Agarwal (1)
Senthilkumar (1)
Ankit Nandekar (1)
Sateesh Arveti (1)
Related resources for FileInfo
No resource found
Get File Extension in C#
10/10/2023 9:42:53 AM.
Code sample on C# get file extension. FileInfo.Extension property returns the file extension in C#.
Create a Text File in C#
9/22/2023 9:29:15 AM.
There are multiple ways you can create files in C# and .NET. This article provides code samples to create files in C# using File.Create() method, File.CreateText(), FileInfo.Create, and FileInfo.Creat
C# FileInfo Code Samples
8/21/2023 11:11:04 AM.
The C# FileInfo provides methods to work with files. In this article, you'll learn how to use FileInfo in C#.
Working With FileInfo In C#
2/23/2023 1:51:43 PM.
C# FileInfo class provides functionality to work with files. This article will explain how to use a FileInfo class in C# to work with files and folders.
How to get a file size in C#
2/23/2023 7:00:15 AM.
Learn how to get file size in C#. Sample code included.
How to get directory of a file in C#
2/21/2023 11:46:12 PM.
How to get the directory name of a file in C# and .NET.
List All Files in a Folder Based on File Extension in ASP.NET
2/10/2021 10:20:58 AM.
This is a very simple article on how to search and list all the files in a folder based on the file extension provided.
Playing With File I/O Using C#
8/28/2019 11:51:30 PM.
In this article, you will learn about the basics of File I/O using C#. We are going to discuss the 3 classes - Path, Directory & File - to work with the file-system.
Capturing File Information
1/29/2019 9:11:56 AM.
This article describes a simple approach to capturing and displaying file and file version information.
Create a file using FileInfo in C#
1/16/2019 8:43:59 AM.
Code sample to show how to create a file in C# and get a file attributes such as file creation time, file size, file last updated, file last accessed, and file last write time.
How to get full path of a file in C#
12/20/2018 3:05:13 AM.
How to get full path of a file using C# and .NET. The FullName property returns just the full path of a file including the file name.
How to check if a file is read only in C#
12/20/2018 12:50:51 AM.
How to check if a file is read only in C#. The IsReadOnly property of the FileInfo class returns if a file is read only.
How to check if a file exists in C#
12/20/2018 12:07:32 AM.
How to check if a file exists in C# and .NET. The Exists property of the FileInfo class returns true if a file exists.
File I/O Using C#
1/11/2014 1:56:01 PM.
In this article, you will learn how to work with classes in the System.IO namespace for reading data from and writing data to files.
Opening and Viewing Images and Text Files in VB.NET
11/10/2012 12:23:11 AM.
We will start this article with a simple application where we will learn how to open and view text and image files using the OpenFileDialog class. In doing so, we will learn some basics of GDI+ drawing, menus and panel control.
Working with FileInfo and DirectoryInfo classes
9/30/2012 5:52:56 AM.
This article explains about the FileInfo and DirectoryClass in the System.IO namespace. The sample application demonstrates how it works.
How to check when a file was last updated in C#
7/14/2012 10:13:37 PM.
How to check when a file was last accessed and updated in C# and .NET.
Retrieve all images from a folder and display them using a DataList control
3/8/2011 4:14:19 PM.
With the use of the code provided here you can retrieve all images from any folder and display them in the form using a DataList control of ASP.Net.
Loading XML File in a TreeView Control using Multithreading
1/31/2007 1:47:41 AM.
There are many occasions when programmers need to develop multithreading applications, which can load big files in the background and let the user do data entry or other jobs without any interruption. In this article, I'll show you how to create multiple threads to load multiple files.
Email notification of FileSystem changes in C#
6/16/2006 4:07:25 AM.
This article tells us how to create a windows service to get notifiactions of filesystem changes remotely.