C# Tutorial Directory Attribute

Attribute

  1. Change current directory to c:/ in CSharp
  2. Check if a Directory exists in CSharp
  3. Get Directory attribute list as a string and file count under it in CSharp
  4. Verify Directory Attributes in CSharp

Path

  1. Combine an array of strings into a path in CSharp
  2. Combine three strings into a path in CSharp
  3. Combine two strings into a path in CSharp
  4. Get a list of invalid path characters in CSharp
  5. Get file name from a path string in CSharp
  6. Get full path for a file under current folder in CSharp
  7. Get path root for a directory in CSharp
  8. Get temporary path name in CSharp
  9. Resolve Path in CSharp

Current

  1. Get Current Directory in CSharp
  2. Get current directory for running application in CSharp

Name

  1. Get Directory name, parent directory name in CSharp
  2. Get directory names that match a search pattern, and searches subdirectories using LINQ in CSharp
  3. Get name for a directory in CSharp
  4. Get name, type, format and available free space for a drive in CSharp
  5. Return the names of files that match the specified search pattern in CSharp

Date

  1. Get creation time, last write time, last access time for a directory in CSharp
  2. Get directory creation date and time, in Coordinated Universal Time (UTC) format in CSharp
  3. Set the date and time a directory was last written to in CSharp
  4. Set the date and time the specified file or directory was last accessed in CSharp

Parent

  1. Get parent directory in CSharp

List

  1. List directory under a directory in CSharp
  2. List files under a directory in CSharp
  3. Sort files under a folder in CSharp




















Home »
  C# Tutorial »
    IO »




File Attribute
File Security
Directory Attribute
Directory Recursive
Binary File
Text Field
Buffered IO
Create Copy Delete Move
CSV
Drive
File System Watcher
Isolated Storage
MemoryStream
Serialize
Zip