Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / LicenseContext.cs / 1 / LicenseContext.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using Microsoft.Win32; using System; using System.Diagnostics; using System.Reflection; using System.Runtime.Remoting; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class LicenseContext : IServiceProvider { ///Specifies when the licensed object can be used. ////// public virtual LicenseUsageMode UsageMode { get { return LicenseUsageMode.Runtime; } } ///When overridden in a derived class, gets a value that specifies when a license can be used. ////// public virtual string GetSavedLicenseKey(Type type, Assembly resourceAssembly) { return null; } ///When overridden in a derived class, gets a saved license /// key for the specified type, from the specified resource assembly. ////// public virtual object GetService(Type type) { return null; } ///When overridden in a derived class, will return an object that implements the asked for service. ////// public virtual void SetSavedLicenseKey(Type type, string key) { // no-op; } } }When overridden in a derived class, sets a license key for the specified type. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FillErrorEventArgs.cs
- Axis.cs
- PartManifestEntry.cs
- XamlSerializerUtil.cs
- SimpleWebHandlerParser.cs
- RunWorkerCompletedEventArgs.cs
- EmptyQuery.cs
- SizeIndependentAnimationStorage.cs
- ObjectDataSourceSelectingEventArgs.cs
- StringBlob.cs
- Padding.cs
- TypeResolver.cs
- CodeDOMProvider.cs
- DataControlExtensions.cs
- LoginUtil.cs
- DefaultPropertyAttribute.cs
- XslCompiledTransform.cs
- Expander.cs
- TableItemPattern.cs
- Crc32.cs
- CategoryAttribute.cs
- WebPartDisplayModeEventArgs.cs
- OdbcException.cs
- Win32KeyboardDevice.cs
- CodeCommentStatementCollection.cs
- ParameterExpression.cs
- ZipIORawDataFileBlock.cs
- PerfCounters.cs
- WebPartTransformer.cs
- SqlCommand.cs
- TaiwanCalendar.cs
- ImportDesigner.xaml.cs
- LocalizableResourceBuilder.cs
- CatalogZoneBase.cs
- XmlParser.cs
- WebPartTransformer.cs
- XmlExtensionFunction.cs
- QilNode.cs
- SoapAttributes.cs
- ChannelBinding.cs
- HandleCollector.cs
- ContractCodeDomInfo.cs
- RenderDataDrawingContext.cs
- CompModSwitches.cs
- HttpClientCredentialType.cs
- CellQuery.cs
- ResourceType.cs
- COM2Enum.cs
- InkCollectionBehavior.cs
- WindowsTreeView.cs
- IIS7UserPrincipal.cs
- JsonReaderWriterFactory.cs
- TextServicesCompartment.cs
- ExportOptions.cs
- CodeCompileUnit.cs
- DataKey.cs
- BooleanExpr.cs
- _ConnectOverlappedAsyncResult.cs
- RepeatButton.cs
- XsltContext.cs
- KeyConstraint.cs
- TaskFileService.cs
- ProfessionalColorTable.cs
- PtsCache.cs
- Parallel.cs
- MissingFieldException.cs
- PrivilegedConfigurationManager.cs
- XmlSchemaSimpleContent.cs
- BaseServiceProvider.cs
- RequestCacheEntry.cs
- MgmtConfigurationRecord.cs
- DataGridViewCheckBoxColumn.cs
- XmlSchemaException.cs
- PackageDigitalSignature.cs
- TextCompositionManager.cs
- TrackingServices.cs
- GeometryModel3D.cs
- ReadOnlyHierarchicalDataSource.cs
- FileDetails.cs
- XmlValidatingReaderImpl.cs
- TemplatedWizardStep.cs
- CommandConverter.cs
- ImageIndexEditor.cs
- StrongNameIdentityPermission.cs
- InputProcessorProfilesLoader.cs
- EncodingDataItem.cs
- DataGridHeaderBorder.cs
- DeploymentSection.cs
- AppLevelCompilationSectionCache.cs
- Simplifier.cs
- PropertyGrid.cs
- QueryTreeBuilder.cs
- AlternateViewCollection.cs
- DBSchemaRow.cs
- SqlDesignerDataSourceView.cs
- QilPatternVisitor.cs
- WebPartTransformerAttribute.cs
- RotateTransform.cs
- RectValueSerializer.cs
- ErrorTableItemStyle.cs