You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added method to add all files in a directory and, optionally, its subdirectories.
Added a method to save directly to a file.
AddEntry* methods now return a reference to the added entry.
Implemented null entries. They are created with NullEntry, and fixed all issues related to not being able to remove them or add them.
Changed
AFS class is now IDisposable. Dispose needs to be called to close the internal FileStream in case the AFS object is created from a file.
When adding an entry, null entry names are considered as string.Empty.
Improved XML documentation.
Renamed Name to SanitizedName and RawName to Name. This makes more sense because Name is the actual name of an entry, and SanitizedName is the autogenerated read-only name that contains no invalid characters.
UnknownAttribute and LastWriteTime properties are now modifiable.
Deprecated
Deprecated AddEntry, ExtractEntry and ExtractAllEntries. Now they are called AddEntryFromFile, AddEntryFromStream, ExtractEntryToFile, ExtractAllEntriesToDirectory.
In an entry, Rename has been deprecated. Use the Name property instead.
In an entry, Unknown property has been deprecated. Use the UnknownAttribute property instead.
Fixed
Make sure an entry name cannot be longer than 32 characters.