c#获取指定文件著作权信息
代码:
复制代码 代码示例:
using System;
using System.Diagnostics;
class MainClass {
static void Main(string[] args) {
FileVersionInfo info = FileVersionInfo.GetVersionInfo("c:a.txt");
Console.WriteLine("Legal Copyright: " + info.LegalCopyright);
}
}