System.Security.Permissions (mscorlib.dll)sealed class
public sealed class FileDialogPermission : System.Security.CodeAccessPermission : IUnrestrictedPermission, 
   IBuiltInPermission {
// Public Constructors
   public FileDialogPermission(FileDialogPermissionAccess access);
   public FileDialogPermission(PermissionState state);
// Public Instance Properties
   public FileDialogPermissionAccess Access{set; get; }
// Public Instance Methods
   public override IPermission Copy(  );        
// overrides CodeAccessPermission
   public override void FromXml(System.Security.SecurityElement esd);
 // overrides CodeAccessPermission
   public override IPermission Intersect(System.Security.IPermission target);
 // overrides CodeAccessPermission
   public override bool IsSubsetOf(System.Security.IPermission target);
 // overrides CodeAccessPermission
   public bool IsUnrestricted(  );
// implements IUnrestrictedPermission
   public override string ToString(  );
// overrides CodeAccessPermission
   public override SecurityElement ToXml(  );   
// overrides CodeAccessPermission
   public override IPermission Union(System.Security.IPermission target);
 // overrides CodeAccessPermission

This code-access permission controls the ability for code to allow users to access files and folders through the System.Windows.Forms.OpenFileDialog and the System.Windows.Forms.SaveFileDialog classes. These UI components are useful for providing restricted access to files and folders, without the need to grant permissions with FileIOPermission. The type of file dialog to which access is granted by a FileDialogPermission object is specified at construction using members of the FileDialogPermissionAccess enumeration. To retrieve or modify the file dialog access represented by a FileDialogPermission object, use its Access property.


System.Object System.Security.CodeAccessPermission(System.Security.IPermission, System.Security.ISecurityEncodable, System.Security.IStackWalk) FileDialogPermission(IUnrestrictedPermission, IBuiltInPermission)

    Part V: API Quick Reference