Related resources for FileInfo
  • Get File Extension in C#6/4/2021 3:17:24 PM. Code sample on C# get file extension. FileInfo.Extension property returns the file extension in C#.
  • List All Files in a Folder Based on File Extension in ASP.NET2/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.
  • C# FileInfo Code Samples12/13/2019 7:11:45 AM. The C# FileInfo provides methods to work with files. In this article, you'll learn how to use FileInfo in C#.
  • 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.
  • Working With FileInfo In C#8/25/2019 8:52:28 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#6/16/2019 2:57:16 PM. C# Get File Size. Learn how to get a file size in bytes using C# using the FileInfo.Length property.
  • Capturing File Information1/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.
  • Create a Text File in C#1/16/2019 8:30:16 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
  • 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.
  • How To Get File Name In C#8/30/2018 4:59:10 AM. How to get a file name in C#. The FileInfo.FileName property returns just the file name part of the full path of a file.
  • 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.NET11/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 classes9/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.
  • How to get directory of a file in C#7/14/2012 1:27:24 PM. How to get the directory name of a file in C# and .NET.
  • Retrieve all images from a folder and display them using a DataList control3/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 Multithreading1/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.