System.IO.DirectoryInfo Class
Information   Base Types   Related Resources

Exposes instance methods for creating, moving, and enumerating through directories and subdirectories.

  • Namespace: System.IO
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.1.4322
  • Assembly: mscorlib.dll

  • System.IO.FileSystemInfo
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (29)Discussions (316)MembersRotorChanges
    Articles

    Page: 12
    ASP.NET 2.0's Client Callback Feature
    DotNetJunkies
    One of the most overlooked features of ASP.NET 2.0, part of Visual Studio 2005 or "Whidbey", is the Client Callback feature. This feature allows you to programmatically call server-side methods through client-side JavaScript code without the need for posting back the page. This article describes how to use the Client Callback feature to implement your own callback scenario and introduces the new TreeView control that has this feature built in.
    Building a Directory Listing Application
    DotNetJunkies
    In this article, Ljubomir shows you how to allow the user the ability to specify a folder for use later in a program. He explains two ways of building a Directory Listing application that lists all folders from a specific drive and its subfolders.
    Building a real-life web-experience : Don´t trip over the threads.
    DotNetJunkies
    In my previous contribution I took a look at calling web-services. There I showed how to asynchronously invoke a web-service from a Windows form. Behind the scenes the project involved a lot of threading issues. The .NET framework is very good at handling these but there is one thing I overlooked. In this paper I will dive deeper into the matter and build build a more complicated service which serves jpeg pictures. A windows form consumer will make asynchronous invocations of the web-service to
    C# Browser History Monitoring Application (Part 1)
    C#Today
    The application developed by Jan Narkiewicz in this article monitors the browser history file of a currently logged in user. As the user surfs the web, the contents of their browser history folder are mirrored to a secure location. Inside the mirrored location (only accessible to administrators on the machine) all additions and updates to the users browser history folder are recorded. Deletions are not recorded. The idea is to monitor a users web surfing habits without letting them know their surfing habits are being monitored.
    Catalog Now!
    The Code Project
    Track all your files, locally, on CD-ROMs, and on removables.
    Choosing Among File I/O Options in Visual Basic .NET
    MSDN
    This article is aimed at the Visual Basic programmer who may be confused by the multiplicity of ways to approach file I/O in Visual Basic .NET. Available alternatives include the methods provided in the Visual Basic .NET runtime, the FileSystemObject, and the methods furnished in the common language runtime. Upon completion, the experienced developer will be familiar with all three and will be equipped to make choices among them.
    Creating a custom DataGridColumnStyle in C#
    C#Today
    The .NET framework provides many unique controls like the DataGrid, which is a data bound list control that displays the items from a data source in a table. The DataGrid is the most powerful and flexible control in the .NET toolbox. In this article, Chad DePue takes a look at one aspect of the DataGrids flexibility, by creating a custom column. The DataGrid provides two types of columns for free, the DataGridTextBoxColumn and the DataGridBoolColumn, but there are many types of data that wont fit into either of these two column types. In the example given, we want to search a directory for icon (.ICO) files and display each icon as a row in the DataGrid. Neither of the existing column styles will do this for us, so we create our own.
    Creating a Smart Base Factory Pattern
    DotNetJunkies
    Factory design patterns are a common approach used to help decouple object creation and instantiation from the client. In this tutorial, we will implement a slight twist on a standard factory pattern, devising a project dynamically capable of instantiating and providing information on new or removed concrete objects.
    Directory Picker Dialog
    C# Corner
    Although the open file dialog is a good tool for picking files, sometimes its the desire of the programmer to have a dialog that chooses a directory. This simple directory picker should get you started on this useful windows function. I wrote a previous article on this topic for Beta 1, but wanted to redo it for Beta 2. This Directory Picker in this article is also a bit different because it uses the "Large Icon" view of the ListView to traverse through directories.
    Enumerate and Host Control Panel Applets using C#.
    The Code Project
    Demonstrates how to enumerate and host Windows Control Panel Applets using C# and unmanaged C++.
    Exposing Proprietary Data the .NET Way
    MSDN
    The .NET Framework comes with the OLE DB managed provider, which is meant to be a bridge that gives you immediate access to all the existing OLE DB providers. This component saves your current investments, as applications can continue successfully calling into existing OLE DB providers. The point, though, is another. In .NET, exposing proprietary data requires a more thoughtful choice, mostly because you have multiple and equally powerful options from which to choose.
    FileSystemInfo Class in C# and VB.NET for beginners
    devCity.NET
    One of the rich experiences in working with .NET is a huge collection of Base Class Libraries. The .NET Framework class library is a library of classes, interfaces, and value types that are included in the Microsoft .NET Framework SDK. This library provides access to system functionality and is designed to be the foundation on which .NET Framework applications, components, and controls are built.
    FolderSync class for .NET
    The Code Project
    A set of classes which can get differences between two folders and which can synchronize them according to basic rules
    How to move, to delete, or to copy files by using a wildcard character in a Windows Service with Visual C++ .NET
    Microsoft Support
    (829483) - This article describes how to create a Windows Service project with Microsoft Visual C++ .NET 2003 and then how to install the Windows Service. This article also describes how to provide the Windows Service start-up parameters for a Windows Service...
    How to move, to delete, or to copy files by using a wildcard character in a Windows Service with Visual C++ .NET
    http://www.kbalertz.com/
    (829483) - This article describes how to create a Windows Service project with Microsoft Visual C++ .NET 2003 and then how to install the Windows Service. This article also describes how to provide the Windows Service start-up parameters for a Windows Service...
    HOW TO: Do Basic File I/O in Visual Basic .NET (Q304427)
    http://www.kbalertz.com/
    The step-by-step procedure that is outlined in this article demonstrates how to do six basic file input/output (I/O) operations in Visual Basic .NET. If you are new to .NET, you will find that the object model for file operations in .NET is
    Icon Extractor in VB.NET
    The Code Project
    An Icon Extractor coded in VB.NET
    Line Count Utility
    C# Corner
    This utility is for counting number of code lines in a Visual Studio Project. it returns the number of code lines and file names which are in the project folders. Actually, you can use this utility for any kind of text file to count the number of lines. This is C# Class file, so you can easily call it in any Web or Windows application. I programmed a simple web application, which shows the number of code line and file names in a web datagrid.
    Managing a Music Collection Using Visual Basic Express and SQL Server Express
    MSDN
    Build a music collection management application using Visual Basic 2005 Express and SQL Server 2005 Express.
    Managing Directories in .NET
    http://aspalliance.com/
    Using the System.IO namespace you can accomplish many actions such as deleting and copying files and directories. This article covers a few methods for managing file system directories in .NET.
    Networking Support Provided by the .NET Framework
    C#Today
    The .NET Framework provides a wide range of excellent features that developers can take advantage in building networking applications. The System.Net classes are similar to Microsoft's WinInet API (used for internet protocol programming), in that they allow applications to get and send data using Internet protocols.
    Static-Site Search Engine with ASP.NET/C#
    The Code Project
    Simple, free, easy to install Search page in C#
    Testing: Perform Code Coverage Analysis with .NET to Ensure Thorough Application Testing
    MSDN
    This article presents a complete system for determining how much of your code base you're actually testing.
    The Code Project - Folder Select Dialog - The C# Programming Language
    The Code Project
    An article on how to use the .NET TreeView and Directory Info object to construct a folder selection dialog. 
    Utilize the full functionality of Whidbey File Management from VB.NET
    The Code Project
    Article on Whidbey File Management
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com