226 references to SecurityHelper
WindowsBase (226)
Base\MS\Internal\AvTrace.cs (1)
234
object keyValue =
SecurityHelper
.ReadRegistryValue(
Base\MS\Internal\IO\Packaging\CompoundFile\NativeCompoundFileAPIs.cs (66)
94
SecurityHelper
.DemandCompoundFileIOPermission();
125
SecurityHelper
.DemandCompoundFileIOPermission();
164
SecurityHelper
.DemandCompoundFileIOPermission();
198
SecurityHelper
.DemandCompoundFileIOPermission();
232
SecurityHelper
.DemandCompoundFileIOPermission();
247
SecurityHelper
.DemandCompoundFileIOPermission();
261
SecurityHelper
.DemandCompoundFileIOPermission();
273
SecurityHelper
.DemandCompoundFileIOPermission();
310
SecurityHelper
.DemandCompoundFileIOPermission();
341
SecurityHelper
.DemandCompoundFileIOPermission();
372
SecurityHelper
.DemandCompoundFileIOPermission();
404
SecurityHelper
.DemandCompoundFileIOPermission();
435
SecurityHelper
.DemandCompoundFileIOPermission();
452
SecurityHelper
.DemandCompoundFileIOPermission();
466
SecurityHelper
.DemandCompoundFileIOPermission();
474
SecurityHelper
.DemandCompoundFileIOPermission();
485
SecurityHelper
.DemandCompoundFileIOPermission();
504
SecurityHelper
.DemandCompoundFileIOPermission();
514
SecurityHelper
.DemandCompoundFileIOPermission();
527
SecurityHelper
.DemandCompoundFileIOPermission();
539
SecurityHelper
.DemandCompoundFileIOPermission();
549
SecurityHelper
.DemandCompoundFileIOPermission();
560
SecurityHelper
.DemandCompoundFileIOPermission();
575
SecurityHelper
.DemandCompoundFileIOPermission();
599
SecurityHelper
.DemandCompoundFileIOPermission();
621
SecurityHelper
.DemandCompoundFileIOPermission();
632
SecurityHelper
.DemandCompoundFileIOPermission();
660
SecurityHelper
.DemandCompoundFileIOPermission();
668
SecurityHelper
.DemandCompoundFileIOPermission();
688
SecurityHelper
.DemandCompoundFileIOPermission();
700
SecurityHelper
.DemandCompoundFileIOPermission();
714
SecurityHelper
.DemandCompoundFileIOPermission();
731
SecurityHelper
.DemandCompoundFileIOPermission();
743
SecurityHelper
.DemandCompoundFileIOPermission();
757
SecurityHelper
.DemandCompoundFileIOPermission();
764
SecurityHelper
.DemandCompoundFileIOPermission();
771
SecurityHelper
.DemandCompoundFileIOPermission();
787
SecurityHelper
.DemandCompoundFileIOPermission();
803
SecurityHelper
.DemandCompoundFileIOPermission();
810
SecurityHelper
.DemandCompoundFileIOPermission();
838
SecurityHelper
.DemandCompoundFileIOPermission();
850
SecurityHelper
.DemandCompoundFileIOPermission();
879
SecurityHelper
.DemandCompoundFileIOPermission();
890
SecurityHelper
.DemandCompoundFileIOPermission();
897
SecurityHelper
.DemandCompoundFileIOPermission();
904
SecurityHelper
.DemandCompoundFileIOPermission();
928
SecurityHelper
.DemandCompoundFileIOPermission();
940
SecurityHelper
.DemandCompoundFileIOPermission();
966
SecurityHelper
.DemandCompoundFileIOPermission();
982
SecurityHelper
.DemandCompoundFileIOPermission();
997
SecurityHelper
.DemandCompoundFileIOPermission();
1011
SecurityHelper
.DemandCompoundFileIOPermission();
1026
SecurityHelper
.DemandCompoundFileIOPermission();
1040
SecurityHelper
.DemandCompoundFileIOPermission();
1052
SecurityHelper
.DemandCompoundFileIOPermission();
1061
SecurityHelper
.DemandCompoundFileIOPermission();
1070
SecurityHelper
.DemandCompoundFileIOPermission();
1093
SecurityHelper
.DemandCompoundFileIOPermission();
1106
SecurityHelper
.DemandCompoundFileIOPermission();
1117
SecurityHelper
.DemandCompoundFileIOPermission();
1228
SecurityHelper
.DemandCompoundFileIOPermission();
1240
SecurityHelper
.DemandCompoundFileIOPermission();
1261
SecurityHelper
.DemandCompoundFileIOPermission();
1277
SecurityHelper
.DemandCompoundFileIOPermission();
1285
SecurityHelper
.DemandCompoundFileIOPermission();
1293
SecurityHelper
.DemandCompoundFileIOPermission();
Base\MS\Internal\IO\Packaging\StorageBasedPackageProperties.cs (2)
618
SecurityHelper
.ThrowExceptionForHR(hresult);
823
SecurityHelper
.ThrowExceptionForHR(hr);
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (1)
24
using SecurityHelper = MS.Internal.WindowsBase.
SecurityHelper
;
Base\MS\Internal\Security\RightsManagement\InternalSafeNativeMethods.cs (50)
23
using SecurityHelper = MS.Internal.WindowsBase.
SecurityHelper
;
46
SecurityHelper
.DemandRightsManagementPermission();
72
SecurityHelper
.DemandRightsManagementPermission();
84
SecurityHelper
.DemandRightsManagementPermission();
96
SecurityHelper
.DemandRightsManagementPermission();
108
SecurityHelper
.DemandRightsManagementPermission();
122
SecurityHelper
.DemandRightsManagementPermission();
154
SecurityHelper
.DemandRightsManagementPermission();
169
SecurityHelper
.DemandRightsManagementPermission();
187
SecurityHelper
.DemandRightsManagementPermission();
216
SecurityHelper
.DemandRightsManagementPermission();
235
SecurityHelper
.DemandRightsManagementPermission();
253
SecurityHelper
.DemandRightsManagementPermission();
269
SecurityHelper
.DemandRightsManagementPermission();
281
SecurityHelper
.DemandRightsManagementPermission();
302
SecurityHelper
.DemandRightsManagementPermission();
315
SecurityHelper
.DemandRightsManagementPermission();
339
SecurityHelper
.DemandRightsManagementPermission();
365
SecurityHelper
.DemandRightsManagementPermission();
383
SecurityHelper
.DemandRightsManagementPermission();
403
SecurityHelper
.DemandRightsManagementPermission();
431
SecurityHelper
.DemandRightsManagementPermission();
454
SecurityHelper
.DemandRightsManagementPermission();
477
SecurityHelper
.DemandRightsManagementPermission();
504
SecurityHelper
.DemandRightsManagementPermission();
522
SecurityHelper
.DemandRightsManagementPermission();
540
SecurityHelper
.DemandRightsManagementPermission();
565
SecurityHelper
.DemandRightsManagementPermission();
579
SecurityHelper
.DemandRightsManagementPermission();
589
SecurityHelper
.DemandRightsManagementPermission();
605
SecurityHelper
.DemandRightsManagementPermission();
628
SecurityHelper
.DemandRightsManagementPermission();
658
SecurityHelper
.DemandRightsManagementPermission();
671
SecurityHelper
.DemandRightsManagementPermission();
684
SecurityHelper
.DemandRightsManagementPermission();
703
SecurityHelper
.DemandRightsManagementPermission();
726
SecurityHelper
.DemandRightsManagementPermission();
745
SecurityHelper
.DemandRightsManagementPermission();
759
SecurityHelper
.DemandRightsManagementPermission();
785
SecurityHelper
.DemandRightsManagementPermission();
810
SecurityHelper
.DemandRightsManagementPermission();
836
SecurityHelper
.DemandRightsManagementPermission();
854
SecurityHelper
.DemandRightsManagementPermission();
871
SecurityHelper
.DemandRightsManagementPermission();
888
SecurityHelper
.DemandRightsManagementPermission();
904
SecurityHelper
.DemandRightsManagementPermission();
916
SecurityHelper
.DemandRightsManagementPermission();
926
SecurityHelper
.DemandRightsManagementPermission();
946
SecurityHelper
.DemandRightsManagementPermission();
973
SecurityHelper
.DemandRightsManagementPermission();
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (1)
25
using SecurityHelper = MS.Internal.WindowsBase.
SecurityHelper
;
Base\System\IO\FileFormatException.cs (1)
185
SecurityHelper
.DemandPathDiscovery(_sourceUri.LocalPath);
Base\System\Security\RightsManagement\CryptoProvider.cs (9)
26
using SecurityHelper=MS.Internal.WindowsBase.
SecurityHelper
;
70
SecurityHelper
.DemandRightsManagementPermission();
88
SecurityHelper
.DemandRightsManagementPermission();
148
SecurityHelper
.DemandRightsManagementPermission();
262
SecurityHelper
.DemandRightsManagementPermission();
281
SecurityHelper
.DemandRightsManagementPermission();
302
SecurityHelper
.DemandRightsManagementPermission();
336
SecurityHelper
.DemandRightsManagementPermission();
352
SecurityHelper
.DemandRightsManagementPermission();
Base\System\Security\RightsManagement\Grant.cs (6)
20
using SecurityHelper=MS.Internal.WindowsBase.
SecurityHelper
;
57
SecurityHelper
.DemandRightsManagementPermission();
103
SecurityHelper
.DemandRightsManagementPermission();
115
SecurityHelper
.DemandRightsManagementPermission();
127
SecurityHelper
.DemandRightsManagementPermission();
140
SecurityHelper
.DemandRightsManagementPermission();
Base\System\Security\RightsManagement\LocalizedNameDescriptionPair.cs (6)
24
using SecurityHelper=MS.Internal.WindowsBase.
SecurityHelper
;
56
SecurityHelper
.DemandRightsManagementPermission();
79
SecurityHelper
.DemandRightsManagementPermission();
92
SecurityHelper
.DemandRightsManagementPermission();
103
SecurityHelper
.DemandRightsManagementPermission();
126
SecurityHelper
.DemandRightsManagementPermission();
Base\System\Security\RightsManagement\PublishLicense.cs (10)
24
using SecurityHelper=MS.Internal.WindowsBase.
SecurityHelper
;
60
SecurityHelper
.DemandRightsManagementPermission();
110
SecurityHelper
.DemandRightsManagementPermission();
131
SecurityHelper
.DemandRightsManagementPermission();
148
SecurityHelper
.DemandRightsManagementPermission();
161
SecurityHelper
.DemandRightsManagementPermission();
174
SecurityHelper
.DemandRightsManagementPermission();
185
SecurityHelper
.DemandRightsManagementPermission();
195
SecurityHelper
.DemandRightsManagementPermission();
218
SecurityHelper
.DemandRightsManagementPermission();
Base\System\Security\RightsManagement\SecureEnvironment.cs (9)
23
using SecurityHelper=MS.Internal.WindowsBase.
SecurityHelper
;
60
SecurityHelper
.DemandRightsManagementPermission();
83
SecurityHelper
.DemandRightsManagementPermission();
96
SecurityHelper
.DemandRightsManagementPermission();
122
SecurityHelper
.DemandRightsManagementPermission();
166
SecurityHelper
.DemandRightsManagementPermission();
215
SecurityHelper
.DemandRightsManagementPermission();
228
SecurityHelper
.DemandRightsManagementPermission();
242
SecurityHelper
.DemandRightsManagementPermission();
Base\System\Security\RightsManagement\UnsignedPublishLicense.cs (16)
25
using SecurityHelper=MS.Internal.WindowsBase.
SecurityHelper
;
58
SecurityHelper
.DemandRightsManagementPermission();
70
SecurityHelper
.DemandRightsManagementPermission();
103
SecurityHelper
.DemandRightsManagementPermission();
155
SecurityHelper
.DemandRightsManagementPermission();
161
SecurityHelper
.DemandRightsManagementPermission();
176
SecurityHelper
.DemandRightsManagementPermission();
182
SecurityHelper
.DemandRightsManagementPermission();
197
SecurityHelper
.DemandRightsManagementPermission();
203
SecurityHelper
.DemandRightsManagementPermission();
217
SecurityHelper
.DemandRightsManagementPermission();
223
SecurityHelper
.DemandRightsManagementPermission();
237
SecurityHelper
.DemandRightsManagementPermission();
251
SecurityHelper
.DemandRightsManagementPermission();
268
SecurityHelper
.DemandRightsManagementPermission();
344
SecurityHelper
.DemandRightsManagementPermission();
Base\System\Security\RightsManagement\UseLicense.cs (9)
22
using SecurityHelper=MS.Internal.WindowsBase.
SecurityHelper
;
57
SecurityHelper
.DemandRightsManagementPermission();
101
SecurityHelper
.DemandRightsManagementPermission();
114
SecurityHelper
.DemandRightsManagementPermission();
125
SecurityHelper
.DemandRightsManagementPermission();
136
SecurityHelper
.DemandRightsManagementPermission();
162
SecurityHelper
.DemandRightsManagementPermission();
173
SecurityHelper
.DemandRightsManagementPermission();
192
SecurityHelper
.DemandRightsManagementPermission();
Base\System\Security\RightsManagement\User.cs (9)
26
using SecurityHelper = MS.Internal.WindowsBase.
SecurityHelper
;
55
SecurityHelper
.DemandRightsManagementPermission();
96
SecurityHelper
.DemandRightsManagementPermission();
109
SecurityHelper
.DemandRightsManagementPermission();
124
SecurityHelper
.DemandRightsManagementPermission();
147
SecurityHelper
.DemandRightsManagementPermission();
172
SecurityHelper
.DemandRightsManagementPermission();
192
SecurityHelper
.DemandRightsManagementPermission();
207
SecurityHelper
.DemandRightsManagementPermission();
Base\System\Windows\DependencyProperty.cs (1)
1015
MS.Internal.WindowsBase.
SecurityHelper
.RunClassConstructor(ownerType);
Base\System\Windows\Interop\ComponentDispatcher.cs (12)
78
SecurityHelper
.DemandUnrestrictedUIPermission();
99
SecurityHelper
.DemandUnrestrictedUIPermission();
142
SecurityHelper
.DemandUnrestrictedUIPermission();
172
SecurityHelper
.DemandUnrestrictedUIPermission();
245
SecurityHelper
.DemandUnrestrictedUIPermission();
250
SecurityHelper
.DemandUnrestrictedUIPermission();
271
SecurityHelper
.DemandUnrestrictedUIPermission();
276
SecurityHelper
.DemandUnrestrictedUIPermission();
353
SecurityHelper
.DemandUnrestrictedUIPermission();
358
SecurityHelper
.DemandUnrestrictedUIPermission();
379
SecurityHelper
.DemandUnrestrictedUIPermission();
384
SecurityHelper
.DemandUnrestrictedUIPermission();
Base\System\Windows\Interop\MSG.cs (7)
86
SecurityHelper
.DemandUnrestrictedUIPermission();
109
SecurityHelper
.DemandUnrestrictedUIPermission();
135
SecurityHelper
.DemandUnrestrictedUIPermission();
161
SecurityHelper
.DemandUnrestrictedUIPermission();
184
SecurityHelper
.DemandUnrestrictedUIPermission();
210
SecurityHelper
.DemandUnrestrictedUIPermission();
235
SecurityHelper
.DemandUnrestrictedUIPermission();
Base\System\Windows\Threading\Dispatcher.cs (3)
246
SecurityHelper
.DemandUnrestrictedUIPermission();
265
SecurityHelper
.DemandUnrestrictedUIPermission();
387
SecurityHelper
.DemandUnrestrictedUIPermission();
Shared\MS\Internal\SecurityHelper.cs (1)
95
SecurityHelper
.DemandUnmanagedCode();
Shared\MS\Win32\HwndSubclass.cs (4)
131
SecurityHelper
.DemandUIWindowPermission();
166
SecurityHelper
.DemandUIWindowPermission();
199
SecurityHelper
.DemandUIWindowPermission();
291
SecurityHelper
.DemandUIWindowPermission();
Shared\MS\Win32\ManagedWndProcTracker.cs (2)
154
SecurityHelper
.DemandUnmanagedCode();
230
SecurityHelper
.DemandUnmanagedCode();