FileInfo.LastWriteTime : FileInfo « System.IO « VB.Net by API






FileInfo.LastWriteTime

  

Public Class Tester
    Public Shared Sub Main
    
        Dim fileDetail As IO.FileInfo


        fileDetail = My.Computer.FileSystem.GetFileInfo("test.txt")

        Console.WriteLine("Created: " & fileDetail.CreationTime)
        Console.WriteLine("Accessed: " & fileDetail.LastAccessTime)
        Console.WriteLine("Modified: " & fileDetail.LastWriteTime)
    End Sub

End Class

   
    
  








Related examples in the same category

1.FileInfo.CreationTime
2.FileInfo.Extension
3.FileInfo.FullName
4.FileInfo.IsReadOnly
5.FileInfo.LastAccessTime
6.FileInfo.Length