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






FileInfo.CreationTime

  
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.Extension
2.FileInfo.FullName
3.FileInfo.IsReadOnly
4.FileInfo.LastAccessTime
5.FileInfo.LastWriteTime
6.FileInfo.Length