Exemple #1
0
        public static byte[] PackInfo()
        {
            BipBuffer buffer = DiagnosticContext.GetBuffer();

            byte[] array = new byte[DiagnosticContext.ContextBuffer.StructSize + buffer.AllocatedSize];
            int    num   = 0;

            DiagnosticContext.PackInfo(array, ref num, array.Length);
            return(array);
        }