Example #1
0
        internal void SetMetadata(IEnumerable <MetadataBlock> metadataBlocks)
        {
            var blockPointers = metadataBlocks.Select(block => block.Handle.DangerousGetHandle()).ToArray();

            SafeNativeMethods.StreamEncoderSetMetadata(_handle, blockPointers, (uint)blockPointers.Length);
        }