Reference Library
BniFileParser Class
NamespacesMBNCSUtil.DataBniFileParser
Provides a parser for .bni files from Starcraft and Warcraft II: Battle.net Edition.
Declaration Syntax
C#Visual BasicVisual C++
public sealed class BniFileParser : IDisposable
Public NotInheritable Class BniFileParser _
	Implements IDisposable
public ref class BniFileParser sealed : IDisposable
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
BniFileParser(String)
Creates a new BNI file parser to parse the specified file.

BniFileParser(Stream)
Creates a new BNI file parser from the specified stream.

AllIcons
Gets all icons and their associated metadata.

Dispose()()()()
Disposes the object, freeing any managed and unmanaged resources.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FullImage
Gets the full image.

GetHashCode()()()()
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks

It is incorrect to attempt to use this class to read a Warcraft III .BNI file. Those files are .MPQ files, and should be read using the MpqArchive class.

Inheritance Hierarchy
Object
BniFileParser

Assembly: Asgard5Library (Module: Asgard5Library)