有时,我们需要为类或组件等添加许可。

而NET FCL为   我们提供了一些相关类的使用。

这些类都在System.ComponentModel命名空间下。

下面是简单的一个实现:

 

NET许可证及Licenseusing System;
NET许可证及License
using System.Collections.Generic;
NET许可证及License
using System.Linq;
NET许可证及License
using System.Text;
NET许可证及License
using Microsoft.Win32;
NET许可证及License
using System.Runtime.InteropServices;
NET许可证及License
using System.ComponentModel;
NET许可证及License

相关文章: