Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / MS / Internal / Security / RightsManagement / RevocationPoint.cs / 1 / RevocationPoint.cs
//------------------------------------------------------------------------------ // //// Copyright (c) Microsoft Corporation. All rights reserved. // // // Description: // This is a structure representing a revocation point, as it is being defined by the // DRMGetRevocationPoint DRMSetRevocationPoint MS DRM SDK functions. // // History: // 02/27/2006: [....]: Initial implementation. // //----------------------------------------------------------------------------- using System; using System.Runtime.InteropServices; using System.Text; using System.Security; namespace MS.Internal.Security.RightsManagement { ////// This class doesn't have any data validation. It is only used as a pass through mechanism from /// GetRevocationPoint to SetRevocationPoint. If we ever choose to add public APIs that control /// revocation point settings extra validation will need to be added on all the public API entry points /// and probably n the class properties as well. /// The Frequency property in the public API space would be better represented by a TimeSpan (not DateTime). /// ////// Critical: This class exposes access to methods that eventually do one or more of the the following /// 1. call into unmanaged code /// 2. affects state/data that will eventually cross over unmanaged code boundary /// 3. Return some RM related information which is considered private /// [SecurityCritical(SecurityCriticalScope.Everything)] internal class RevocationPoint { //----------------------------------------------------- // // Internal Properties // //----------------------------------------------------- internal string Id { get { return _id; } set { _id = value; } } internal string IdType { get { return _idType; } set { _idType = value; } } internal Uri Url { get { return _url; } set { _url = value; } } internal SystemTime Frequency { get { return _frequency; } set { _frequency = value; } } internal string Name { get { return _name; } set { _name = value; } } internal string PublicKey { get { return _publicKey; } set { _publicKey = value; } } //------------------------------------------------------ // // Private Fields // //----------------------------------------------------- private string _id; private string _idType; private Uri _url; private SystemTime _frequency; private string _name; private string _publicKey; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RawStylusInputReport.cs
- TableCellCollection.cs
- SecurityHeader.cs
- MetadataPropertyAttribute.cs
- GradientStop.cs
- MaterialGroup.cs
- ScriptResourceAttribute.cs
- BlobPersonalizationState.cs
- _NetRes.cs
- BuildResultCache.cs
- DataTablePropertyDescriptor.cs
- BitmapMetadataBlob.cs
- ValueTypeFixupInfo.cs
- ImageKeyConverter.cs
- CodeTypeReference.cs
- MessageHeaderDescriptionCollection.cs
- PkcsMisc.cs
- HwndKeyboardInputProvider.cs
- TypeHelpers.cs
- MeshGeometry3D.cs
- BufferModesCollection.cs
- TreeNode.cs
- ExternalFile.cs
- ExpressionPrinter.cs
- EventMappingSettings.cs
- EventLogger.cs
- IPHostEntry.cs
- XmlQueryOutput.cs
- StyleCollectionEditor.cs
- LogAppendAsyncResult.cs
- EllipticalNodeOperations.cs
- TextEditorDragDrop.cs
- ArrayConverter.cs
- NativeStructs.cs
- EditorZoneDesigner.cs
- ContentControl.cs
- NonClientArea.cs
- ParenthesizePropertyNameAttribute.cs
- ProtocolsConfiguration.cs
- DependencyPropertyKey.cs
- BuildTopDownAttribute.cs
- WindowsIdentity.cs
- ContextMenu.cs
- TrustSection.cs
- TableAdapterManagerGenerator.cs
- UIServiceHelper.cs
- IndexOutOfRangeException.cs
- OperationDescription.cs
- ShortcutKeysEditor.cs
- Stack.cs
- PreDigestedSignedInfo.cs
- AvtEvent.cs
- Permission.cs
- DefaultMemberAttribute.cs
- FrameworkRichTextComposition.cs
- SystemColors.cs
- KnownTypesHelper.cs
- FontConverter.cs
- SortDescriptionCollection.cs
- Mappings.cs
- PeerNearMe.cs
- dataprotectionpermission.cs
- TraceRecord.cs
- WeakHashtable.cs
- SqlBinder.cs
- CodeDirectionExpression.cs
- CopyOfAction.cs
- InputLanguageProfileNotifySink.cs
- GroupBox.cs
- DetailsViewRowCollection.cs
- CqlLexerHelpers.cs
- ObjectDisposedException.cs
- DefaultExpressionVisitor.cs
- EditorZoneAutoFormat.cs
- ConvertersCollection.cs
- DetailsViewActionList.cs
- XmlNamespaceDeclarationsAttribute.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- HintTextConverter.cs
- EncryptedReference.cs
- EntryIndex.cs
- StringDictionary.cs
- FullTextState.cs
- WindowsGraphics2.cs
- OleStrCAMarshaler.cs
- BackgroundFormatInfo.cs
- CheckBoxAutomationPeer.cs
- LOSFormatter.cs
- COM2ColorConverter.cs
- FixedPageStructure.cs
- InputProviderSite.cs
- ColorTransformHelper.cs
- EdmItemError.cs
- HashHelper.cs
- ZipIOCentralDirectoryFileHeader.cs
- PlatformCulture.cs
- BitmapVisualManager.cs
- ProtocolsConfiguration.cs
- MULTI_QI.cs
- InternalDuplexChannelFactory.cs