Get Evidence from Assembly : Assembly Properties : Assembly C# Examples


C# Examples » Assembly » Assembly Properties »

 

Get Evidence from Assembly









    
using  System;
using  System.Reflection;
using  System.Collections;
using  System.Security.Policy;

public  class  MainClass  {
        public  static  void  Main(string[]  args)  {
                Assembly  a  =  Assembly.LoadFrom(args[0]);
                Evidence  e  =  a.Evidence;

                IEnumerator  x  =  e.GetHostEnumerator();
                Console.WriteLine("HOST  EVIDENCE  COLLECTION:");
                while  (x.MoveNext())  {
                        Console.WriteLine(x.Current.ToString());
                }
        }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Assembly
» Assembly Properties