Beispiel #1
0
			public bool Read(CLIFile pFile)
			{
				Signature = pFile.ReadUInt32();
				MajorVersion = pFile.ReadUInt16();
				MinorVersion = pFile.ReadUInt16();
				Reserved = pFile.ReadUInt32();
				VersionLength = pFile.ReadUInt32();
				Version = pFile.ReadBytes((int)VersionLength);
				Flags = pFile.ReadUInt16();
				StreamCount = pFile.ReadUInt16();

				Streams = new CLIMetadataStreamHeader[StreamCount];
				for (int index = 0; index < Streams.Length; ++index)
				{
					Streams[index] = new CLIMetadataStreamHeader();
					Streams[index].Read(pFile);
				}
				return true;
			}