/// <summary> /// 加密狗调用 /// </summary> /// <param name="type">SN_DogRead();Str_DogRead("20","0");Str_DogWrite("20","20","string")</param> /// <param name="vaule">按type的参数数传入object[n] n为参数个数</param> /// <returns>object</returns> public object getdog(string type, object[] objects) { object object1 = new object(); System.Type oType = System.Type.GetTypeFromProgID("DriverDog.getDog"); object o = System.Activator.CreateInstance(oType); oType.InvokeMember(type, System.Reflection.BindingFlags.InvokeMethod, null, o, objects); return object1; }