Public Class Tester Public Shared Sub Main Dim fileDetail As IO.FileInfo fileDetail = My.Computer.FileSystem.GetFileInfo("test.txt") Console.WriteLine("Attributes: " & fileDetail.Attributes.ToString()) End Sub End Class
Attributes: Archive, NotContentIndexed