File Directory ASP.Net Tutorial

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

    void Page_Load(Object Source, EventArgs E)
    {
        PathPropertiesLiteral.Text = "";
    }
    
    void ParsePath(Object Source, EventArgs E)
    {
  StringBuilder PropertyContainer = new StringBuilder();
      PropertyContainer.Append("");
        PropertyContainer.Append("Full Path");
        PropertyContainer.Append("" + Path.GetFullPath(FileNameTextBox.Text) + "");
        PropertyContainer.Append("Root Drive");
        PropertyContainer.Append("" + Path.GetPathRoot(FileNameTextBox.Text) + "");
        PropertyContainer.Append("Directory Path");
        PropertyContainer.Append("" + Path.GetDirectoryName(FileNameTextBox.Text) + "");
        PropertyContainer.Append("File Name");
        PropertyContainer.Append("" + Path.GetFileName(FileNameTextBox.Text) + "");
        PropertyContainer.Append("File Name (Without Extension)");
        PropertyContainer.Append("" + Path.GetFileNameWithoutExtension(FileNameTextBox.Text) + "");
        PropertyContainer.Append("File Extension");
        PropertyContainer.Append("" + Path.GetExtension(FileNameTextBox.Text) + "");
        PropertyContainer.Append("Temporary Filename");
        PropertyContainer.Append("" + Path.GetTempFileName() + "");
        PropertyContainer.Append("Temprary Filepath");
        PropertyContainer.Append("" + Path.GetTempPath() + "");
        PropertyContainer.Append("Directory Separator");
        PropertyContainer.Append("" + Path.DirectorySeparatorChar + "");
        PropertyContainer.Append("Alt Directory Separator");
        PropertyContainer.Append("" + Path.AltDirectorySeparatorChar + "");
        PropertyContainer.Append("Path Separator");
        PropertyContainer.Append("" + Path.PathSeparator + "");
        PropertyContainer.Append("Volume Separator");
        PropertyContainer.Append("" + Path.VolumeSeparatorChar + "");
        PropertyContainer.Append("Invalid Path Characters");
        PropertyContainer.Append("" + Path.InvalidPathChars + "");
        PropertyContainer.Append("");
  PathPropertiesLiteral.Text = PropertyContainer.ToString();
    }


  
    File Path Parsing
  
  
    
      

File Path Parser