Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / MS / Internal / Permissions / RightsManagementPermission.cs / 1 / RightsManagementPermission.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Rights Managment Permission. // It is a class for permission that will be asserted/demanded internally. // Only DocumentApplication (or Mongoose) code will assert these permissions. // // Using it allows the following: // We can have very specific targeted asserts for enabling Rights Management. // This is to provide a granular permissio for Rights Management to be used // by DocumentApplication to enable Encrypted Documents scenarios in Partial Trust // rather than asserting broader permission such as Unmanaged Code // // !!!! Warning !!!!: No code other than DocumentApplication (or Mongoose) should assert this // permission without agreement from this code owners. // // History: // 09/12/05 : [....] - Created //--------------------------------------------------------------------------- using System; using System.Text; using System.Security; using System.Security.Permissions; using System.Windows; using MS.Internal.WindowsBase; namespace MS.Internal.Permissions { // !!!! Warning !!!!: No code other than DocumentApplication (or Mongoose) should assert this // permission without agreement from this code owners. [FriendAccessAllowed] internal class RightsManagementPermission : InternalPermissionBase { public RightsManagementPermission() : base() { } public override IPermission Copy() { // There is no state: just return a new instance of RightsManagementPermission return new RightsManagementPermission(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataObjectPastingEventArgs.cs
- UnsafeNativeMethodsCLR.cs
- RunInstallerAttribute.cs
- X509AsymmetricSecurityKey.cs
- IResourceProvider.cs
- CodeCatchClauseCollection.cs
- DockProviderWrapper.cs
- __Filters.cs
- FreezableOperations.cs
- WebPartConnectionsCancelEventArgs.cs
- SpotLight.cs
- DrawListViewSubItemEventArgs.cs
- Directory.cs
- HitTestWithGeometryDrawingContextWalker.cs
- FormViewPageEventArgs.cs
- ReturnType.cs
- PeerNameRecord.cs
- SqlDataSourceConfigureSelectPanel.cs
- ReferencedCollectionType.cs
- VisualStyleInformation.cs
- SqlServices.cs
- CompareValidator.cs
- WebPartConnectionsCancelEventArgs.cs
- ListView.cs
- CacheChildrenQuery.cs
- ArithmeticException.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- Timeline.cs
- AuthorizationContext.cs
- DefaultValueAttribute.cs
- ListControl.cs
- RotateTransform3D.cs
- XmlObjectSerializerReadContextComplexJson.cs
- PresentationSource.cs
- EventDescriptor.cs
- BitmapEffectDrawingContextWalker.cs
- ChannelBinding.cs
- TagNameToTypeMapper.cs
- DataGridViewElement.cs
- ObjectDataSource.cs
- ParamArrayAttribute.cs
- ConnectionsZone.cs
- httpapplicationstate.cs
- Bold.cs
- ProjectionCamera.cs
- securestring.cs
- StreamUpdate.cs
- SoapReflectionImporter.cs
- Int16AnimationBase.cs
- ReadWriteObjectLock.cs
- Annotation.cs
- ProgressBar.cs
- MediaTimeline.cs
- TableLayoutSettingsTypeConverter.cs
- VerificationAttribute.cs
- FamilyTypefaceCollection.cs
- SystemNetworkInterface.cs
- PropertyEmitterBase.cs
- PrintPreviewControl.cs
- ParenthesizePropertyNameAttribute.cs
- PathStreamGeometryContext.cs
- Page.cs
- XmlSchemaAppInfo.cs
- LoginStatusDesigner.cs
- GestureRecognitionResult.cs
- MyContact.cs
- CharUnicodeInfo.cs
- PeerNameRegistration.cs
- SchemaTableColumn.cs
- SocketAddress.cs
- ProviderConnectionPointCollection.cs
- WebBrowserEvent.cs
- EmbeddedMailObjectsCollection.cs
- CompositeScriptReference.cs
- TemplateEditingFrame.cs
- XPathMessageFilter.cs
- BaseComponentEditor.cs
- BuildTopDownAttribute.cs
- SpecialTypeDataContract.cs
- ValidationEventArgs.cs
- CursorConverter.cs
- DesignTimeHTMLTextWriter.cs
- SpeechSynthesizer.cs
- X509CertificateChain.cs
- DataServiceRequestOfT.cs
- ServiceX509SecurityTokenProvider.cs
- WindowsClaimSet.cs
- Graphics.cs
- validation.cs
- DataGrid.cs
- ButtonBase.cs
- While.cs
- IsolatedStorage.cs
- TcpTransportElement.cs
- AliasedExpr.cs
- FontCollection.cs
- ConfigurationLoaderException.cs
- DataConnectionHelper.cs
- DataGridViewUtilities.cs
- PerformanceCounter.cs