Resources No resource found - C# FileInfo Code SamplesDec 19, 2018. The C# FileInfo provides methods to work with files. In this article, you'll learn how to use FileInfo in C#.
- Create a file using FileInfo in C#Jul 13, 2012. 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.
- Working With FileInfo In C#Jul 04, 2011. 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.
- Working with FileInfo and DirectoryInfo classesAug 11, 2009. This article explains about the FileInfo and DirectoryClass in the System.IO namespace. The sample application demonstrates how it works.
- Playing With File I/O Using C#Aug 28, 2019. 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.
- File I/O Using C#Jan 08, 2014. 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.
- List All Files in a Folder Based on File Extension in ASP.NETJan 14, 2013. This is a very simple article on how to search and list all the files in a folder based on the file extension provided.
- Get File Extension in C#Jul 14, 2012. Code sample on C# get file extension. FileInfo.Extension property returns the file extension in C#.
- How to check when a file was last updated in C#Jul 14, 2012. How to check when a file was last accessed and updated in C# and .NET.
- How to check if a file is read only in C#Jul 14, 2012. 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 get a file size in C#Jul 14, 2012. Learn how to get file size in C#. Sample code included.
- How to get full path of a file in C#Jul 14, 2012. 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 exists in C#Jul 14, 2012. 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 directory of a file in C#Jul 14, 2012. How to get the directory name of a file in C# and .NET.
- How To Get File Name In C#Jul 13, 2012. 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.
- Create a Text File in C#Jun 08, 2012. 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.CreateText() method.
- Retrieve all images from a folder and display them using a DataList controlMar 08, 2011. 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.
- Capturing File InformationDec 29, 2006. This article describes a simple approach to capturing and displaying file and file version information.
- Email notification of FileSystem changes in C#Jun 16, 2006. This article tells us how to create a windows service to get notifiactions of filesystem changes remotely.
- Loading XML File in a TreeView Control using MultithreadingApr 19, 2002. 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.