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
- WebPartZone.cs
- PolicyAssertionCollection.cs
- LinkConverter.cs
- DbConnectionHelper.cs
- ReadOnlyMetadataCollection.cs
- FtpCachePolicyElement.cs
- InputEventArgs.cs
- TypeLoadException.cs
- ObjectDataSourceFilteringEventArgs.cs
- ProtocolsConfigurationEntry.cs
- RoleManagerModule.cs
- KeyTimeConverter.cs
- BuildManager.cs
- Number.cs
- Config.cs
- XmlBinaryWriter.cs
- RtType.cs
- BindingListCollectionView.cs
- DesignerSerializerAttribute.cs
- FixedHighlight.cs
- ModelVisual3D.cs
- DbConnectionOptions.cs
- RuntimeArgumentHandle.cs
- CompositeCollectionView.cs
- LockedBorderGlyph.cs
- DataSourceXmlAttributeAttribute.cs
- SqlProcedureAttribute.cs
- CollectionViewGroup.cs
- AbandonedMutexException.cs
- HTMLTagNameToTypeMapper.cs
- DictionaryGlobals.cs
- StructuredTypeInfo.cs
- PageCatalogPart.cs
- SmiEventSink.cs
- HtmlInputImage.cs
- Timer.cs
- XmlIgnoreAttribute.cs
- DllNotFoundException.cs
- DeferredTextReference.cs
- Rfc2898DeriveBytes.cs
- HtmlHead.cs
- ImageFormat.cs
- PenLineCapValidation.cs
- UrlUtility.cs
- SmtpException.cs
- XmlAttribute.cs
- ConfigurationCollectionAttribute.cs
- AnnotationResource.cs
- CasesDictionary.cs
- FileLoadException.cs
- ImageClickEventArgs.cs
- XsdCachingReader.cs
- TrackingProfile.cs
- OleDbErrorCollection.cs
- Thumb.cs
- DefaultBindingPropertyAttribute.cs
- RuntimeVariablesExpression.cs
- LinqDataSourceStatusEventArgs.cs
- AnnotationComponentManager.cs
- EnumerableRowCollection.cs
- MessageEncoderFactory.cs
- ViewBase.cs
- TextElementCollection.cs
- WebBrowserBase.cs
- DefaultBindingPropertyAttribute.cs
- OleDbRowUpdatingEvent.cs
- LineGeometry.cs
- CompiledAction.cs
- DiscreteKeyFrames.cs
- AppSettingsSection.cs
- TextLineBreak.cs
- FormViewModeEventArgs.cs
- TextParagraphCache.cs
- ServiceInstanceProvider.cs
- XmlAttributeAttribute.cs
- ControlParser.cs
- HttpSocketManager.cs
- ObjectRef.cs
- DiscoveryReference.cs
- SafePEFileHandle.cs
- ConfigurationManagerInternal.cs
- SQLSingle.cs
- WebPartDescription.cs
- WindowVisualStateTracker.cs
- ObjectDataSourceChooseTypePanel.cs
- Types.cs
- MarkupObject.cs
- ContainerControlDesigner.cs
- RegistrationProxy.cs
- FocusWithinProperty.cs
- XmlNamespaceDeclarationsAttribute.cs
- Rules.cs
- CodeBinaryOperatorExpression.cs
- ExpressionDumper.cs
- CompositeActivityCodeGenerator.cs
- ExpandCollapseProviderWrapper.cs
- ProfilePropertySettingsCollection.cs
- IconConverter.cs
- ImageClickEventArgs.cs
- ObjectDataSourceEventArgs.cs