60 references to TrustManagerPromptOptions
System.Windows.Forms (60)
winforms\Managed\System\WinForms\TrustManager.cs (20)
466
TrustManagerPromptOptions
options = CompletePromptOptions(permissionElevationRequired ?
TrustManagerPromptOptions
.RequiresPermissions :
TrustManagerPromptOptions
.None, appTrustExtraInfo, zoneName, info);
487
private static
TrustManagerPromptOptions
CompletePromptOptions(
TrustManagerPromptOptions
options,
494
options |=
TrustManagerPromptOptions
.AddsShortcut;
500
options |=
TrustManagerPromptOptions
.InternetSource;
504
options |=
TrustManagerPromptOptions
.TrustedSitesSource;
508
options |=
TrustManagerPromptOptions
.UntrustedSitesSource;
512
options |=
TrustManagerPromptOptions
.LocalNetworkSource;
516
options |=
TrustManagerPromptOptions
.LocalComputerSource;
524
options |=
TrustManagerPromptOptions
.WillHaveFullTrust;
840
TrustManagerPromptOptions
options = CompletePromptOptions(
TrustManagerPromptOptions
.RequiresPermissions, appTrustExtraInfo, zoneName, info);
872
TrustManagerPromptOptions
options = CompletePromptOptions(permissionElevationRequired ? (
TrustManagerPromptOptions
.StopApp |
TrustManagerPromptOptions
.RequiresPermissions) :
TrustManagerPromptOptions
.StopApp,
1062
private
TrustManagerPromptOptions
m_options;
1066
string publisherName, X509Certificate2 certificate,
TrustManagerPromptOptions
options) {
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (18)
36
internal TrustManagerMoreInformation(
TrustManagerPromptOptions
options, String publisherName)
107
private void FillContent(
TrustManagerPromptOptions
options, String publisherName)
110
LoadWarningBitmap(((options & (
TrustManagerPromptOptions
.RequiresPermissions |
TrustManagerPromptOptions
.WillHaveFullTrust)) != 0) ? TrustManagerWarningLevel.Red : TrustManagerWarningLevel.Green, this.pictureBoxMachineAccess);
111
LoadWarningBitmap(((options &
TrustManagerPromptOptions
.AddsShortcut) != 0) ? TrustManagerWarningLevel.Yellow : TrustManagerWarningLevel.Green, this.pictureBoxInstallation);
114
if ((options & (
TrustManagerPromptOptions
.LocalNetworkSource |
115
TrustManagerPromptOptions
.LocalComputerSource |
116
TrustManagerPromptOptions
.TrustedSitesSource)) != 0)
120
else if ((options &
TrustManagerPromptOptions
.UntrustedSitesSource) != 0)
126
Debug.Assert((options &
TrustManagerPromptOptions
.InternetSource) != 0);
140
if ((options & (
TrustManagerPromptOptions
.RequiresPermissions |
TrustManagerPromptOptions
.WillHaveFullTrust)) != 0)
149
if ((options &
TrustManagerPromptOptions
.AddsShortcut) != 0)
161
if ((options &
TrustManagerPromptOptions
.LocalNetworkSource) != 0)
165
else if ((options &
TrustManagerPromptOptions
.LocalComputerSource) != 0)
169
else if ((options &
TrustManagerPromptOptions
.InternetSource) != 0)
173
else if ((options &
TrustManagerPromptOptions
.TrustedSitesSource) != 0)
179
Debug.Assert((options &
TrustManagerPromptOptions
.UntrustedSitesSource) != 0);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (22)
69
private
TrustManagerPromptOptions
m_options;
80
TrustManagerPromptOptions
options)
436
if ((this.m_options &
TrustManagerPromptOptions
.StopApp) != 0)
444
if ((this.m_options &
TrustManagerPromptOptions
.AddsShortcut) != 0)
502
if ((this.m_options &
TrustManagerPromptOptions
.AddsShortcut) != 0)
513
if ((this.m_options &
TrustManagerPromptOptions
.StopApp) != 0)
519
if ((this.m_options &
TrustManagerPromptOptions
.AddsShortcut) != 0)
528
else if ((this.m_options &
TrustManagerPromptOptions
.AddsShortcut) != 0)
538
if ((this.m_options &
TrustManagerPromptOptions
.StopApp) != 0)
541
if ((this.m_options &
TrustManagerPromptOptions
.AddsShortcut) != 0)
557
if ((this.m_options &
TrustManagerPromptOptions
.LocalComputerSource) != 0)
560
if ((this.m_options &
TrustManagerPromptOptions
.AddsShortcut) != 0)
569
else if ((this.m_options &
TrustManagerPromptOptions
.AddsShortcut) != 0)
584
if ((this.m_options &
TrustManagerPromptOptions
.StopApp) != 0 || this.m_publisherName == null)
586
if ((this.m_options &
TrustManagerPromptOptions
.RequiresPermissions) == 0 &&
587
(this.m_options &
TrustManagerPromptOptions
.AddsShortcut) != 0)
596
else if ((this.m_options &
TrustManagerPromptOptions
.RequiresPermissions) == 0)
607
if ((this.m_options &
TrustManagerPromptOptions
.StopApp) != 0)
609
if ((this.m_options &
TrustManagerPromptOptions
.AddsShortcut) != 0)
618
else if ((this.m_options &
TrustManagerPromptOptions
.RequiresPermissions) != 0)
620
if ((this.m_options &
TrustManagerPromptOptions
.AddsShortcut) != 0)
629
else if ((this.m_options &
TrustManagerPromptOptions
.AddsShortcut) != 0)