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
- XAMLParseException.cs
- TargetConverter.cs
- MobileListItem.cs
- CopyOfAction.cs
- FrameworkContentElementAutomationPeer.cs
- ColumnTypeConverter.cs
- SessionIDManager.cs
- LightweightCodeGenerator.cs
- NativeMethods.cs
- DesignUtil.cs
- SessionSwitchEventArgs.cs
- TripleDES.cs
- VisualStateChangedEventArgs.cs
- ServiceHostingEnvironment.cs
- StructuredProperty.cs
- XmlTextReaderImplHelpers.cs
- EntitySqlQueryBuilder.cs
- DefaultValueAttribute.cs
- ExtendedProtectionPolicyElement.cs
- safesecurityhelperavalon.cs
- DataGridTextBoxColumn.cs
- odbcmetadatacolumnnames.cs
- MessageQueuePermissionAttribute.cs
- Compiler.cs
- DataBindingHandlerAttribute.cs
- ExternalFile.cs
- IgnoreFlushAndCloseStream.cs
- CssClassPropertyAttribute.cs
- precedingsibling.cs
- ReadOnlyHierarchicalDataSource.cs
- DataSourceGeneratorException.cs
- EncodingTable.cs
- PropertyTabAttribute.cs
- TypeDependencyAttribute.cs
- PageParser.cs
- SecurityPermission.cs
- CommandValueSerializer.cs
- ListBindableAttribute.cs
- MobileControlsSection.cs
- TrueReadOnlyCollection.cs
- RegistryKey.cs
- BroadcastEventHelper.cs
- TextFormatterImp.cs
- CompiledIdentityConstraint.cs
- XmlSchemaSimpleTypeRestriction.cs
- EntityDataSourceChangedEventArgs.cs
- SurrogateSelector.cs
- CodeDomExtensionMethods.cs
- XmlSchemaAttributeGroupRef.cs
- FieldTemplateFactory.cs
- XMLDiffLoader.cs
- Point3DKeyFrameCollection.cs
- SingleAnimationUsingKeyFrames.cs
- SafeNativeMethods.cs
- NotFiniteNumberException.cs
- TextShapeableCharacters.cs
- CatalogPart.cs
- DoubleUtil.cs
- ApplicationFileParser.cs
- invalidudtexception.cs
- HealthMonitoringSection.cs
- ObjectConverter.cs
- MouseActionValueSerializer.cs
- SmtpTransport.cs
- BroadcastEventHelper.cs
- MetaType.cs
- PageAdapter.cs
- Converter.cs
- Utils.cs
- WSSecurityOneDotZeroSendSecurityHeader.cs
- DelegateOutArgument.cs
- DateTimeFormatInfo.cs
- WebBrowsableAttribute.cs
- ModelItemCollectionImpl.cs
- securestring.cs
- SequentialWorkflowHeaderFooter.cs
- ConditionCollection.cs
- EventLogQuery.cs
- MessageDecoder.cs
- StateMachineWorkflow.cs
- SQLRoleProvider.cs
- DataGridViewComboBoxEditingControl.cs
- PriorityQueue.cs
- SoundPlayer.cs
- IIS7WorkerRequest.cs
- COMException.cs
- CompilerWrapper.cs
- CacheVirtualItemsEvent.cs
- WebScriptServiceHost.cs
- WindowsSysHeader.cs
- GeometryValueSerializer.cs
- IsolatedStorageFilePermission.cs
- RedirectionProxy.cs
- SessionIDManager.cs
- DependencyObjectType.cs
- Triplet.cs
- MenuCommand.cs
- FileUtil.cs
- MenuItemAutomationPeer.cs
- ReadOnlyMetadataCollection.cs