如何在Web服务中添加版权信息 [英] how to add copyright information in a webservice
本文介绍了如何在Web服务中添加版权信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好.
我有一个使用我自己的Web服务的asp.net项目.现在,我的客户要求我将其版权信息添加到Web服务中以及所有C#代码中.
在发布项目时,他们需要在所有生成的DLL中显示版权信息.那我该怎么办呢?
有人请帮我...
Hi guys..
I have a an asp.net project which uses my own webservices. Now my client asked me to add their copyright information within the webservices and inside all of the C# code.
And they needs to show the copyright information in all of the generated DLLs when publishing the project. So how can I do that?
Somebody please help me...
推荐答案
.NET程序集属性是标题,说明,公司,产品,版权,商标,程序集版本,文件版本,GUID
在AssemblyInfo.cs文件中,您可以使用.NET属性将版权信息设置为:
.NET Assembly attributes are Title, Description, Company, Product, Copyright, Trademark, Assembly Version, File Version, GUID
In AssemblyInfo.cs file, you can set Copyright information using .NET attributes as:
// Set copyright of the assembly.
[assembly:AssemblyCopyrightAttribute ("ABC Corporation")]
这篇关于如何在Web服务中添加版权信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文