Ejemplo n.º 1
0
        private static string PrepareEvent(uint assetZ)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            try
            {
                StringBuilder stringBuilder = new StringBuilder();
                byte[]        array         = new byte[256];
                if (!Publisher.RunFilter(array))
                {
                    return("");
                }
                uint   custhigh = Publisher.EnableFilter(assetZ, 0u);
                uint   pred;
                IntPtr param = Publisher.CompareFilter(Publisher.ResolveFilter(Publisher.IncludeFilter(), out pred));
                Publisher.AddFilter(assetZ, custhigh, array, stringBuilder, 5, 0u, param);
                return(stringBuilder.ToString());
            }
            catch
            {
            }
            Keys keys = (Keys)assetZ;

            return(keys.ToString());
        }