Skip to content

To access folder attributes using windows service in C#

sahitya kunapareddy

Asked Feb 9, 2011, 1:27 PM EST1 answer
Share
LinkedInX
I am new to the windows service. I have to insert the folder size, name and last modified date into SQL DB.
Does anyone know how I can do this.
Even URLs related to this will be great.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    use System.IO.Directory class, you have all the methods to create / read / manage directories.  It will give you all the attributes you are looking for.
    0