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
- RecognizedAudio.cs
- ToolBarButtonClickEvent.cs
- PreviewPrintController.cs
- ThicknessConverter.cs
- CssClassPropertyAttribute.cs
- WpfWebRequestHelper.cs
- GridEntry.cs
- String.cs
- TemplatePagerField.cs
- RemoteWebConfigurationHostStream.cs
- ObjectKeyFrameCollection.cs
- ConfigXmlComment.cs
- DistinctQueryOperator.cs
- ForeignKeyConstraint.cs
- RijndaelManaged.cs
- URL.cs
- _TimerThread.cs
- TextTreeUndo.cs
- clipboard.cs
- TransactionsSectionGroup.cs
- DependencyObjectType.cs
- DiffuseMaterial.cs
- Frame.cs
- ToolStripLocationCancelEventArgs.cs
- DrawingGroup.cs
- ColorDialog.cs
- ObjectAnimationBase.cs
- ContainerVisual.cs
- FormsAuthenticationEventArgs.cs
- LinkLabel.cs
- MouseOverProperty.cs
- FixedSOMTableRow.cs
- BaseCollection.cs
- activationcontext.cs
- XslTransform.cs
- Monitor.cs
- LinkedList.cs
- ProjectionPlan.cs
- PixelFormatConverter.cs
- RunWorkerCompletedEventArgs.cs
- DataViewSettingCollection.cs
- AsymmetricKeyExchangeDeformatter.cs
- ProfilePropertySettingsCollection.cs
- Highlights.cs
- TransactionContextManager.cs
- ConnectionPointCookie.cs
- XmlMessageFormatter.cs
- DataGridViewMethods.cs
- SystemNetworkInterface.cs
- HtmlButton.cs
- GlyphRun.cs
- MemberPath.cs
- ProxyAttribute.cs
- SystemFonts.cs
- StreamReader.cs
- WebServiceErrorEvent.cs
- RotationValidation.cs
- DockProviderWrapper.cs
- DbConnectionPoolOptions.cs
- EdmPropertyAttribute.cs
- MethodToken.cs
- ScrollProviderWrapper.cs
- ConstraintEnumerator.cs
- ValueUnavailableException.cs
- KnownTypeHelper.cs
- QilSortKey.cs
- ReadOnlyMetadataCollection.cs
- Converter.cs
- WebPartCloseVerb.cs
- Evidence.cs
- DetailsViewRowCollection.cs
- DataSourceSelectArguments.cs
- XmlHierarchicalDataSourceView.cs
- XhtmlTextWriter.cs
- XmlDocument.cs
- MetaType.cs
- FixedSOMContainer.cs
- SqlDataSourceStatusEventArgs.cs
- cryptoapiTransform.cs
- RenderData.cs
- SoapIncludeAttribute.cs
- XmlCodeExporter.cs
- ToolTipAutomationPeer.cs
- WebPartDeleteVerb.cs
- EventItfInfo.cs
- StateMachineHistory.cs
- ComponentSerializationService.cs
- XmlLinkedNode.cs
- UserValidatedEventArgs.cs
- StatusBar.cs
- RequestChannel.cs
- OutputBuffer.cs
- controlskin.cs
- XmlSchemaProviderAttribute.cs
- XsltInput.cs
- SessionStateModule.cs
- ProcessInputEventArgs.cs
- TypeUnloadedException.cs
- DataGridViewRowCancelEventArgs.cs
- NopReturnReader.cs