Type type = Type.GetType("EpTrayUtil.Util"); object o = type.Assembly.CreateInstance("EpTrayUtil.Util"); type.InvokeMember( "DecryptDataList", System.Reflection.BindingFlags.InvokeMethod, null, o, new object[] {pubkey, strMD5SecureKey, strNewDataList})
------解决方案-------------------- EpTrayUtil.Util trayUtil = new EpTrayUtil.Util userInfo = trayUtil.DecryptDataList(pubkey, strMD5SecureKey, strNewDataList)