本文整理汇总了C#中System.Reflection.Assembly.GetCopyright方法的典型用法代码示例。如果您正苦于以下问题:C# Assembly.GetCopyright方法的具体用法?C# Assembly.GetCopyright怎么用?C# Assembly.GetCopyright使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Reflection.Assembly
的用法示例。
在下文中一共展示了Assembly.GetCopyright方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AboutBox
public AboutBox(Assembly asm)
{
var asmName = asm.GetName();
this.AppName = asmName.Name;
this.AppDescription = asm.GetDescription();
this.Version = asm.GetInformationalVersion();
this.Copyright = asm.GetCopyright();
//this.AppIcon = ShellIcon.GetIconImageSource(asm.Location, IconSize.Large);
//this.Loaded += this.LoadedHandler;
this.InitializeComponent();
}
示例2: AsmInfo
/// <summary>
/// Constructor
/// </summary>
/// <param name="assembly"></param>
public AsmInfo(Assembly assembly) {
assembly.ShouldNotBeNull("assembly");
FullName = assembly.FullName;
AssemblyName = assembly.GetName();
// NOTE : CodeBase는 동적으로 Loading 한 Assembly에 대해서는 값을 조회할 수 없다.
// this.CodeBase = assembly.CodeBase;
Company = assembly.GetCompany();
Configuration = assembly.GetConfiguration();
Copyright = assembly.GetCopyright();
Culture = assembly.GetCulture();
DefaultAlias = assembly.GetDefaultAlias();
Description = assembly.GetDescription();
InfomationalVersion = assembly.GetInformationalVersion();
Product = assembly.GetProduct();
Title = assembly.GetTitle();
Trademark = assembly.GetTrandemark();
Version = AssemblyName.Version;
Win32FileVersion = assembly.GetFileVersion();
}