File Directory ASP.Net Tutorial

<%@ Page Language="C#" %>
<%@ Import Namespace="System.IO" %>


    protected void Page_Load(object sender, EventArgs e)
    {
        Directory.CreateDirectory(@"C:\");
        
        if (Directory.Exists(@"C:\") )
        {
            this.Label1.Text = Directory.GetCreationTime(@"C:\").ToString();
            this.Label2.Text = Directory.GetLastAccessTime(@"C:\").ToString();
            this.Label3.Text = Directory.GetLastWriteTime(@"C:\").ToString();
            Directory.Delete(@"C:\");
        }
    }



    Untitled Page


    
    

        Creation Time: 
              
        Last Access Time: 
              
        Last Write Time: