mirror of
https://github.com/claunia/libexeinfo.git
synced 2025-12-16 19:14:24 +00:00
32 lines
991 B
C#
32 lines
991 B
C#
using System.IO;
|
|
|
|
namespace libexeinfo
|
|
{
|
|
public interface IExecutable
|
|
{
|
|
/// <summary>
|
|
/// If <c>true</c> the executable is recognized by this instance
|
|
/// </summary>
|
|
bool Recognized { get; }
|
|
/// <summary>
|
|
/// Name of executable format
|
|
/// </summary>
|
|
string Type { get; }
|
|
/// <summary>
|
|
/// The <see cref="Stream" /> that contains the executable represented by this instance
|
|
/// </summary>
|
|
Stream BaseStream { get; }
|
|
/// <summary>
|
|
/// If <c>true</c> the executable is for a big-endian architecture
|
|
/// </summary>
|
|
bool IsBigEndian { get; }
|
|
/// <summary>
|
|
/// General description of executable contents
|
|
/// </summary>
|
|
string Information { get; }
|
|
/// <summary>
|
|
/// Architectures that the executable can run on
|
|
/// </summary>
|
|
Architecture[] Architectures { get; }
|
|
}
|
|
} |