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
- DesignBindingEditor.cs
- BamlResourceSerializer.cs
- MenuItemCollectionEditorDialog.cs
- Enum.cs
- AppDomainEvidenceFactory.cs
- FormViewInsertEventArgs.cs
- SqlFlattener.cs
- TextRangeEditLists.cs
- SoundPlayerAction.cs
- ImageIndexEditor.cs
- BulletedListEventArgs.cs
- IconConverter.cs
- ApplyImportsAction.cs
- GraphicsPathIterator.cs
- Executor.cs
- Highlights.cs
- Cursors.cs
- ErrorItem.cs
- InvalidCommandTreeException.cs
- ListViewSortEventArgs.cs
- Helpers.cs
- RoutedEventValueSerializer.cs
- InstanceStoreQueryResult.cs
- EngineSiteSapi.cs
- glyphs.cs
- LinkArea.cs
- RowsCopiedEventArgs.cs
- ThreadExceptionDialog.cs
- HuffmanTree.cs
- ObjectToIdCache.cs
- x509store.cs
- SvcMapFileSerializer.cs
- SafeNativeMethods.cs
- RemoteAsymmetricSignatureFormatter.cs
- StateMachine.cs
- PageSettings.cs
- WSMessageEncoding.cs
- SparseMemoryStream.cs
- AnnotationResourceChangedEventArgs.cs
- LineServicesRun.cs
- RoleGroupCollection.cs
- Border.cs
- PictureBoxDesigner.cs
- StringInfo.cs
- cookie.cs
- CodeNamespaceImport.cs
- ParentQuery.cs
- StyleBamlRecordReader.cs
- newinstructionaction.cs
- ThicknessAnimation.cs
- OracleParameterBinding.cs
- FactoryId.cs
- RangeBaseAutomationPeer.cs
- JavaScriptObjectDeserializer.cs
- ColumnBinding.cs
- LogWriteRestartAreaAsyncResult.cs
- WsdlBuildProvider.cs
- ListenerSessionConnectionReader.cs
- Decimal.cs
- StrongNameKeyPair.cs
- VisualBrush.cs
- ActivationArguments.cs
- VoiceChangeEventArgs.cs
- Point3DCollectionConverter.cs
- TextElementEditingBehaviorAttribute.cs
- HierarchicalDataSourceControl.cs
- ProfileBuildProvider.cs
- XmlTextReader.cs
- ItemTypeToolStripMenuItem.cs
- Asn1IntegerConverter.cs
- NativeRightsManagementAPIsStructures.cs
- ColorConvertedBitmap.cs
- MimeParameterWriter.cs
- XmlReflectionMember.cs
- DesignerTransaction.cs
- OrderedParallelQuery.cs
- ZeroOpNode.cs
- SourceLineInfo.cs
- MimeWriter.cs
- GlyphRunDrawing.cs
- ChtmlTextWriter.cs
- WriteTimeStream.cs
- FormsAuthentication.cs
- MimeAnyImporter.cs
- X509Certificate2Collection.cs
- SynchronizedPool.cs
- GridEntry.cs
- ButtonFieldBase.cs
- Validator.cs
- SafePEFileHandle.cs
- Control.cs
- ExceptionUtil.cs
- InputGestureCollection.cs
- AttributeQuery.cs
- HtmlInputRadioButton.cs
- ModuleBuilderData.cs
- IntranetCredentialPolicy.cs
- EdmSchemaAttribute.cs
- MdImport.cs
- RelatedCurrencyManager.cs