You are developing an application by using C#. You provide a public key to the development team during development.
You need to specify that the assembly is not fully signed when it is built.
Which two assembly attributes should you include in the source code? (Each correct answer presents part of the solution. Choose two.)
A . AssemblyKeyNameAttribute
B . ObfuscateAssemblyAttribute
C . AssemblyDelaySignAttribute
D . AssemblyKeyFileAttribute
Answer: C, D
Explanation:
* AssemblyDelaySignAttribute
Specifies that the assembly is not fully signed when created.
* The following code example shows the use of the AssemblyDelaySignAttribute attribute
with the AssemblyKeyFileAttribute.
using System;
using System.Reflection;
[assembly:AssemblyKeyFileAttribute(“TestPublicKey.snk”)]
[assembly:AssemblyDelaySignAttribute(true)]
namespace DelaySign
{
public class Test { }
}
Reference: http://msdn.microsoft.com/en-us/library/t07a3dye(v=vs.110).aspx