Search() 공개 메소드

public Search ( ) : void
리턴 void
예제 #1
0
 public static void Main(string[] args)
 {
   FindType ft = new FindType();
   try
   {
     SetOptions(args, ft);      
     ft.Search();
   }
   catch(SecurityException)
   {
     Console.WriteLine("This sample has failed to run due to a security limitation!");
     Console.WriteLine("Try running the sample from a local drive or using CasPol.exe to turn off security.");
   }
   catch
   {
     PrintUsage();
   }      
 }
예제 #2
0
    public static void Main(string[] args)
    {
        FindType ft = new FindType();

        try
        {
            SetOptions(args, ft);
            ft.Search();
        }
        catch (SecurityException)
        {
            Console.WriteLine("This sample has failed to run due to a security limitation!");
            Console.WriteLine("Try running the sample from a local drive or using CasPol.exe to turn off security.");
        }
        catch
        {
            PrintUsage();
        }
    }