8 references to RequiresPermissions
System.Windows.Forms (8)
winforms\Managed\System\WinForms\TrustManager.cs (3)
466
TrustManagerPromptOptions options = CompletePromptOptions(permissionElevationRequired ? TrustManagerPromptOptions.
RequiresPermissions
: TrustManagerPromptOptions.None, appTrustExtraInfo, zoneName, info);
840
TrustManagerPromptOptions options = CompletePromptOptions(TrustManagerPromptOptions.
RequiresPermissions
, appTrustExtraInfo, zoneName, info);
872
TrustManagerPromptOptions options = CompletePromptOptions(permissionElevationRequired ? (TrustManagerPromptOptions.StopApp | TrustManagerPromptOptions.
RequiresPermissions
) : TrustManagerPromptOptions.StopApp,
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (2)
110
LoadWarningBitmap(((options & (TrustManagerPromptOptions.
RequiresPermissions
| TrustManagerPromptOptions.WillHaveFullTrust)) != 0) ? TrustManagerWarningLevel.Red : TrustManagerWarningLevel.Green, this.pictureBoxMachineAccess);
140
if ((options & (TrustManagerPromptOptions.
RequiresPermissions
| TrustManagerPromptOptions.WillHaveFullTrust)) != 0)
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (3)
586
if ((this.m_options & TrustManagerPromptOptions.
RequiresPermissions
) == 0 &&
596
else if ((this.m_options & TrustManagerPromptOptions.
RequiresPermissions
) == 0)
618
else if ((this.m_options & TrustManagerPromptOptions.
RequiresPermissions
) != 0)