Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00:00

36 lines
1.4 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="License.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.ComponentModel {
using Microsoft.Win32;
using System;
using System.Diagnostics;
using System.Security.Permissions;
/// <include file='doc\License.uex' path='docs/doc[@for="License"]/*' />
/// <devdoc>
/// <para>Provides the <see langword='abstract'/> base class for all licenses. A license is
/// granted to a specific instance of a component.</para>
/// </devdoc>
[HostProtection(SharedState = true)]
public abstract class License : IDisposable
{
/// <include file='doc\License.uex' path='docs/doc[@for="License.LicenseKey"]/*' />
/// <devdoc>
/// <para>When overridden in a derived class, gets the license key granted to this component.</para>
/// </devdoc>
public abstract string LicenseKey { get; }
/// <include file='doc\License.uex' path='docs/doc[@for="License.Dispose"]/*' />
/// <devdoc>
/// <para>When overridden in a derived class, releases the license.</para>
/// </devdoc>
public abstract void Dispose();
}
}