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
- MergePropertyDescriptor.cs
- SystemUnicastIPAddressInformation.cs
- SchemaEntity.cs
- BitmapSizeOptions.cs
- GetWinFXPath.cs
- DocumentViewer.cs
- DictionaryEntry.cs
- FromReply.cs
- CommandField.cs
- HtmlElementCollection.cs
- cache.cs
- BlurBitmapEffect.cs
- CodeDomComponentSerializationService.cs
- X509UI.cs
- WebPartVerbCollection.cs
- BuildDependencySet.cs
- TemplateControlCodeDomTreeGenerator.cs
- BaseHashHelper.cs
- ConfigXmlText.cs
- FixedSOMGroup.cs
- ObjectToIdCache.cs
- ComponentDispatcherThread.cs
- GeneralTransformGroup.cs
- SchemaAttDef.cs
- ServiceMetadataPublishingElement.cs
- CacheVirtualItemsEvent.cs
- TypeContext.cs
- ListControlBuilder.cs
- XhtmlBasicObjectListAdapter.cs
- Item.cs
- FollowerQueueCreator.cs
- Line.cs
- EntityDataSourceUtil.cs
- ArrayConverter.cs
- HttpGetProtocolImporter.cs
- FileVersionInfo.cs
- ResourceProviderFactory.cs
- figurelength.cs
- RangeValueProviderWrapper.cs
- SelectionListComponentEditor.cs
- DesignerActionGlyph.cs
- RectKeyFrameCollection.cs
- PointUtil.cs
- EtwTrace.cs
- StringAnimationBase.cs
- WeakRefEnumerator.cs
- TreeViewItem.cs
- IPGlobalProperties.cs
- ExponentialEase.cs
- SecurityStandardsManager.cs
- OperationContractGenerationContext.cs
- PageCodeDomTreeGenerator.cs
- DefaultWorkflowTransactionService.cs
- Crypto.cs
- Section.cs
- QueryGeneratorBase.cs
- ModelTreeEnumerator.cs
- TemplateControl.cs
- TextBox.cs
- MultipartIdentifier.cs
- AutoGeneratedFieldProperties.cs
- SvcMapFileSerializer.cs
- SqlCaseSimplifier.cs
- DataGridViewCellCollection.cs
- NewArrayExpression.cs
- IntegerValidatorAttribute.cs
- NamedServiceModelExtensionCollectionElement.cs
- GridViewCommandEventArgs.cs
- ExtendedPropertyDescriptor.cs
- PopOutPanel.cs
- Queue.cs
- RayMeshGeometry3DHitTestResult.cs
- AssemblyNameProxy.cs
- CreateUserWizardDesigner.cs
- OracleConnectionFactory.cs
- HwndSourceKeyboardInputSite.cs
- Thread.cs
- GenericTypeParameterBuilder.cs
- SqlClientMetaDataCollectionNames.cs
- ExtendedProtectionPolicyElement.cs
- WindowPattern.cs
- ExpressionDumper.cs
- ScopelessEnumAttribute.cs
- TrueReadOnlyCollection.cs
- TextElement.cs
- BooleanToVisibilityConverter.cs
- XmlSchemaDocumentation.cs
- LoginName.cs
- ThousandthOfEmRealDoubles.cs
- UInt16Converter.cs
- DuplicateWaitObjectException.cs
- WebPartConnectionsCancelEventArgs.cs
- AttributeParameterInfo.cs
- PersonalizationDictionary.cs
- FileSystemEventArgs.cs
- HttpFileCollectionWrapper.cs
- MiniParameterInfo.cs
- While.cs
- Size.cs
- Compiler.cs