Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

File System and the Registry (C# Programming Guide)

The following topics show how to use C# and the .NET Framework to perform various basic operations on files, folders, and the Registry.

Title

Description

How to: Iterate Through a Directory Tree (C# Programming Guide)

Shows how to manually iterate through a directory tree.

How to: Get Information About Files, Folders, and Drives (C# Programming Guide)

Shows how to retrieve information such as creation times and size, about files, folders and drives.

How to: Create a File or Folder (C# Programming Guide)

Shows how to create a new file or folder.

How to: Copy, Delete, and Move Files and Folders (C# Programming Guide)

Shows how to copy, delete and move files and folders.

How to: Provide a Progress Dialog Box for File Operations (C# Programming Guide)

Shows how to display a standard Windows progress dialog for certain file operations.

How to: Write to a Text File (C# Programming Guide)

Shows how to write to a text file.

How to: Read From a Text File (C# Programming Guide)

Shows how to read from a text file.

How to: Read a Text File One Line at a Time (Visual C#)

Shows how to retrieve text from a file one line at a time.

How to: Create a Key In the Registry (Visual C#)

Shows how to write a key to the system registry.

How to: Write to the Application Event Log (Visual C#)

Shows how to write to the application event log.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft