Exemplo n.º 1
0
        public string GetValue(string username, string password)
        {
            Type          asstype = this.PluginAssembly.GetType("MainClass");
            IInfoProvider i       = (IInfoProvider)Activator.CreateInstance(asstype);

            return(i.GetValue());
        }
Exemplo n.º 2
0
 public string GetValue()
 {
     if (valid)
     {
         Type          asstype = PluginAssembly.GetType("MainClass");
         IInfoProvider i       = (IInfoProvider)Activator.CreateInstance(asstype);
         return(laststring = i.GetValue(username, password));
     }
     return("Плагин неправильный");
 }