有时,我们需要为类或组件等添加许可。 而NET FCL为 我们提供了一些相关类的使用。 这些类都在System.ComponentModel命名空间下。 下面是简单的一个实现: using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Win32;using System.Runtime.InteropServices;using System.ComponentModel; 相关文章: