This is what I have:
using System;
using System.IO;
using System.Text;

namespace File_Permissions
    class Start {
        static void Main(string[] args)
            string dir = "dummy";
            string dir_fil = "dummy/test.txt";

            FileAttributes attributes = File.GetAttributes(dir);
            System.Console.WriteLine(" These are the directory 'dummy' attributes : " + attributes.);
What I'm trying to do is get the attributes of a file/directory that you normally would see when you try to view the "Properties" on a file. I've found these examples, but it's kind of lacking:

What's the best way to view _all_ of these properties? Specifically, I'd like to know how to view permissions, owner, etc. and then print all of this out to the console.