Exemplo n.º 1
0
        public static void ShowFileProperties(string Filename)
        {
            SHELLEXECUTEINFO info = new SHELLEXECUTEINFO();

            info.cbSize = System.Runtime.InteropServices.Marshal.SizeOf(info);
            info.lpVerb = "properties";
            info.lpFile = Filename;
            info.nShow  = SW_SHOW;
            info.fMask  = SEE_MASK_INVOKEIDLIST;
            ShellExecuteEx(ref info);
        }
Exemplo n.º 2
0
 static extern bool ShellExecuteEx(ref SHELLEXECUTEINFO lpExecInfo);