mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-06-19 13:50:09 +10:00
Update about Manager.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System.IO;
|
||||
|
||||
namespace PriFormat
|
||||
{
|
||||
public class UnknownSection: Section
|
||||
{
|
||||
public byte [] SectionContent { get; private set; }
|
||||
|
||||
internal UnknownSection (string sectionIdentifier, PriFile priFile)
|
||||
: base (sectionIdentifier, priFile)
|
||||
{
|
||||
}
|
||||
|
||||
protected override bool ParseSectionContent (BinaryReader binaryReader)
|
||||
{
|
||||
int contentLength = (int)(binaryReader.BaseStream.Length - binaryReader.BaseStream.Position);
|
||||
|
||||
SectionContent = binaryReader.ReadBytes (contentLength);
|
||||
|
||||
return true;
|
||||
}
|
||||
public override void Dispose ()
|
||||
{
|
||||
SectionContent = null;
|
||||
base.Dispose ();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user