FileDialogPermission

Table A-3 shows the required FileDialogPermission settings for the GetFileOpenName and GetFileSaveName functions in Windows Forms targets.

Table A-3: FileDialogPermission required in Windows Forms

System function

Permission required

GetFileOpenName

Open or OpenSave (unrestricted FileIOPermission also required)

GetFileSaveName

Save or OpenSave (unrestricted FileIOPermission also required)