Specifies the System.ComponentModel.LicenseProvider to use with a class. This class cannot be inherited.
See Also: LicenseProviderAttribute Members
When you create a component that you want to license, you must specify the System.ComponentModel.LicenseProvider by marking the component with a System.ComponentModel.LicenseProviderAttribute.
Use the LicenseProviderAttribute.LicenseProvider property to get the Type of the System.ComponentModel.LicenseProvider.
For more information about attributes, see Extending Metadata Using Attributes. For more information about licensing, see How to: License Components and Controls.
The System.Security.Permissions.HostProtectionAttribute attribute applied to this class has the following System.Security.Permissions.HostProtectionAttribute.Resources property value: System.Security.Permissions.HostProtectionResource.SharedState. The System.Security.Permissions.HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the System.Security.Permissions.HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes.