I have compiled libraries as dlls (managed) and I have to uniquely enumerate
it (kind of Guid for each one). All of them implements the same interface
(see code block) and generate ID each time it called. I want to fix it into
assembly (option 1) [maybe using SetAttribute into
AssemblyConfigurationAttribute] or use any internal GUID of assemble if
possible (Option 2). How to implement it without changing all implementation
classes (including abstracts)? Are any unique ID for compiled dll in .NET?
public Interface foo
{
Guid FooID{get;}
}
public abstract Foo:foo
{
Guid m_id=Guid.NewGuid();
public Guid ID{get{return m_id;}}
}
public class Foo1:Foo
{
}
public class Foo2:Foo
{
}
--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "