System.IO.File.GetLastWriteTime is what you need.
More Related Contents:
- How do I check if a given string is a legal/valid file name under Windows?
- How to find the most recent file in a directory using .NET, and without looping?
- C# – How to get Program Files (x86) on Windows 64 bit
- Extracting Windows File Properties (Custom Properties) C#
- How do I detect when a directory or file changes without constant scanning
- Delete a file being used by another process
- How to shut down the computer from C#
- Finding the default application for opening a particular file type on Windows
- How to get a path to the desktop for current user in C#?
- Create a directory if it doesn’t exist
- How do I disable a system device programmatically?
- Creating a temporary directory in Windows?
- How to render a WPF UserControl to a bitmap without creating a window
- How to use httpwebrequest to pull image from website to local file
- Wrap C# application in .msi installer
- Event to detect System wake up from sleep in C#
- File.Copy vs. Manual FileStream.Write For Copying File
- Impersonate user in Windows Service
- File System TreeView
- Open a file and replace strings in C#
- How can I get the current user directory?
- Is .NET 4.0 Compatible with Windows XP SP2 or below? [closed]
- Using SetWindowPos in C# to move windows around
- How do I get File Type Information based on extension? (not MIME) in c#
- Exclude certain file extensions when getting files from a directory
- How to read a file from internet?
- File.ReadLines without locking it?
- Is it possible to send Toast notification from console application?
- How to detect using c# if a pendrive is plugged into a USB port?
- Why does System.IO.File.Exists(string path) return false?