You can implement your own assembly attribute:
[AttributeUsage(AttributeTargets.Assembly)]
public class ActivityAssemblyAttribute : Attribute
{
}
Then decorate necessary assembly with this attribute:
[assembly: ActivityAssemblyAttribute()]
And, when needed, just check whether the assembly under question is decorated with this attribute:
ActivityAssemblyAttribute attribute = null;
object[] attributes = assembly.GetCustomAttributes(typeof(ActivityAssemblyAttribute), false);
if (attributes.Length > 0)
{
attribute = attributes[0] as ActivityAssemblyAttribute;
}