<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FCSharp_Tutorial%2FFile_Directory_Stream%2FFile_Properties</id>
		<title>Csharp/CSharp Tutorial/File Directory Stream/File Properties - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FCSharp_Tutorial%2FFile_Directory_Stream%2FFile_Properties"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/File_Directory_Stream/File_Properties&amp;action=history"/>
		<updated>2026-04-29T15:17:44Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/File_Directory_Stream/File_Properties&amp;diff=6814&amp;oldid=prev</id>
		<title> в 15:31, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/File_Directory_Stream/File_Properties&amp;diff=6814&amp;oldid=prev"/>
				<updated>2010-05-26T15:31:53Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 15:31, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/File_Directory_Stream/File_Properties&amp;diff=6815&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/File_Directory_Stream/File_Properties&amp;diff=6815&amp;oldid=prev"/>
				<updated>2010-05-26T12:20:29Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Get File creation time and extension name==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.IO;&lt;br /&gt;
class MainClass&lt;br /&gt;
{&lt;br /&gt;
    static void Main(string[] args)&lt;br /&gt;
    {&lt;br /&gt;
        string[] files = Directory.GetFiles(@&amp;quot;c:\&amp;quot;);&lt;br /&gt;
        foreach (string filename in files)&lt;br /&gt;
        {&lt;br /&gt;
            FileInfo file = new FileInfo(filename);&lt;br /&gt;
            Console.WriteLine(&amp;quot;{0} created on {1}, and is a {2} file&amp;quot;,&lt;br /&gt;
                file.Name, file.CreationTime, &lt;br /&gt;
                file.Extension);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;AUTOEXEC.BAT created on 27/08/2006 10:31:59 PM, and is a .BAT file&lt;br /&gt;
boot.ini created on 27/08/2006 3:15:49 PM, and is a .ini file&lt;br /&gt;
CONFIG.SYS created on 27/08/2006 10:31:59 PM, and is a .SYS file&lt;br /&gt;
hiberfil.sys created on 27/08/2006 11:07:25 PM, and is a .sys file&lt;br /&gt;
IO.SYS created on 27/08/2006 10:31:59 PM, and is a .SYS file&lt;br /&gt;
MSDOS.SYS created on 27/08/2006 10:31:59 PM, and is a .SYS file&lt;br /&gt;
NTDETECT.ru created on 04/08/2004 5:00:00 AM, and is a .ru file&lt;br /&gt;
ntldr created on 04/08/2004 5:00:00 AM, and is a  file&lt;br /&gt;
pagefile.sys created on 27/08/2006 3:07:15 PM, and is a .sys file&lt;br /&gt;
records.bin created on 03/03/2007 4:21:35 PM, and is a .bin file&lt;br /&gt;
Test.txt created on 24/03/2007 7:23:12 PM, and is a .txt file&lt;br /&gt;
test.xml created on 25/03/2007 2:17:21 PM, and is a .xml file&lt;br /&gt;
Testing.txt created on 25/03/2007 2:00:14 PM, and is a .txt file&lt;br /&gt;
xmlWriterTest.xml created on 25/03/2007 2:17:33 PM, and is a .xml file&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get FileInfo: file name, file exists, creation time, last write time, last access time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;using System;&lt;br /&gt;
using System.IO;&lt;br /&gt;
class MainClass&lt;br /&gt;
{&lt;br /&gt;
    public static void Main(string[] args)&lt;br /&gt;
    {&lt;br /&gt;
        FileInfo file = new FileInfo(&amp;quot;c:\\test.txt&amp;quot;);&lt;br /&gt;
        Console.WriteLine(&amp;quot;Checking file: &amp;quot; + file.Name);&lt;br /&gt;
        Console.WriteLine(&amp;quot;File exists: &amp;quot; + file.Exists.ToString());&lt;br /&gt;
        if (file.Exists)&lt;br /&gt;
        {&lt;br /&gt;
            Console.Write(&amp;quot;File created: &amp;quot;);&lt;br /&gt;
            Console.WriteLine(file.CreationTime.ToString());&lt;br /&gt;
            Console.Write(&amp;quot;File last updated: &amp;quot;);&lt;br /&gt;
            Console.WriteLine(file.LastWriteTime.ToString());&lt;br /&gt;
            Console.Write(&amp;quot;File last accessed: &amp;quot;);&lt;br /&gt;
            Console.WriteLine(file.LastAccessTime.ToString());&lt;br /&gt;
        }&lt;br /&gt;
        &lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;Checking file: test.txt&lt;br /&gt;
File exists: True&lt;br /&gt;
File created: 24/03/2007 7:23:12 PM&lt;br /&gt;
File last updated: 24/03/2007 7:23:12 PM&lt;br /&gt;
File last accessed: 25/03/2007 2:04:13 PM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get FileInfo: file size, file attribute list==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;using System;&lt;br /&gt;
using System.IO;&lt;br /&gt;
class MainClass&lt;br /&gt;
{&lt;br /&gt;
    public static void Main(string[] args)&lt;br /&gt;
    {&lt;br /&gt;
        FileInfo file = new FileInfo(&amp;quot;c:\\test.txt&amp;quot;);&lt;br /&gt;
        Console.WriteLine(&amp;quot;Checking file: &amp;quot; + file.Name);&lt;br /&gt;
        Console.WriteLine(&amp;quot;File exists: &amp;quot; + file.Exists.ToString());&lt;br /&gt;
        if (file.Exists)&lt;br /&gt;
        {&lt;br /&gt;
            Console.Write(&amp;quot;File size (bytes): &amp;quot;);&lt;br /&gt;
            Console.WriteLine(file.Length.ToString());&lt;br /&gt;
            Console.Write(&amp;quot;File attribute list: &amp;quot;);&lt;br /&gt;
            Console.WriteLine(file.Attributes.ToString());&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;Checking file: test.txt&lt;br /&gt;
File exists: True&lt;br /&gt;
File size (bytes): 0&lt;br /&gt;
File attribute list: Archive&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>