Assembly ass
=
Assembly.LoadFile(path);
GuidAttribute[] grids = (GuidAttribute[])ass.GetCustomAttributes( typeof (GuidAttribute), false );
if (grids.Length > 0 )
{
Guid gudi = new Guid(grids[ 0 ].Value);
Debug.WriteLine(gudi);
}
GuidAttribute[] grids = (GuidAttribute[])ass.GetCustomAttributes( typeof (GuidAttribute), false );
if (grids.Length > 0 )
{
Guid gudi = new Guid(grids[ 0 ].Value);
Debug.WriteLine(gudi);
}