C# Class PERWAPI.Assembly

Descriptor for an assembly (.assembly)
Inheritance: DefiningScope
Afficher le fichier Open project: xored/f4 Class Usage Examples

Méthodes publiques

Méthode Description
AddAssemblyAttr ( AssemAttr aa ) : void

Add an attribute for this assembly

AddAssemblyInfo ( int majVer, int minVer, int bldNo, int revNo, byte key, HashAlgorithmType hash, string cult ) : void

Add details about an assembly

AddSecurity ( SecurityAction act, byte permissionSet ) : void

Add some security action(s) to this Assembly

AssemblyAttributes ( ) : AssemAttr

Get the attributes of this assembly

BuildNumber ( ) : int

Get the build number for this Assembly

Culture ( ) : string

Get the culture information for this Assembly

GetSecurity ( ) : PERWAPI.DeclSecurity[]

Get the security information for this assembly

HasSecurity ( ) : bool

Check if this assembly has security information

HashAlgorithm ( ) : HashAlgorithmType

Get the type of the hash algorithm for this Assembly

Key ( ) : byte[]

Get the public key for this Assembly

MajorVersion ( ) : int

Get the major version number for this Assembly

MakeRefOf ( ) : AssemblyRef

Make an AssemblyRef descriptor for this Assembly

MinorVersion ( ) : int

Get the minor version number for this Assembly

RevisionNumber ( ) : int

Get the revision number for this Assembly

SetAssemblyAttr ( AssemAttr aa ) : void

Set the attributes for this assembly

Private Methods

Méthode Description
AddSecurity ( DeclSecurity sec ) : void
Assembly ( string name, HashAlgorithmType hashAlgId, ushort majVer, ushort minVer, ushort bldNo, ushort revNo, uint flags, byte pKey, string cult, PEFile pefile ) : System
Assembly ( string name, PEFile pefile ) : System
BuildTables ( MetaDataOut md ) : void
GetCodedIx ( CIx code ) : uint
Read ( PEReader buff, TableRow table, PEFile pefile ) : void
ReadAssemblyRef ( PEReader buff ) : AssemblyRef
Size ( MetaData md ) : uint
Write ( CILWriter output ) : void
Write ( PEWriter output ) : void

Method Details

AddAssemblyAttr() public méthode

Add an attribute for this assembly
public AddAssemblyAttr ( AssemAttr aa ) : void
aa AssemAttr assembly attribute
Résultat void

AddAssemblyInfo() public méthode

Add details about an assembly
public AddAssemblyInfo ( int majVer, int minVer, int bldNo, int revNo, byte key, HashAlgorithmType hash, string cult ) : void
majVer int Major Version
minVer int Minor Version
bldNo int Build Number
revNo int Revision Number
key byte Hash Key
hash HashAlgorithmType Hash Algorithm
cult string Culture
Résultat void

AddSecurity() public méthode

Add some security action(s) to this Assembly
public AddSecurity ( SecurityAction act, byte permissionSet ) : void
act SecurityAction
permissionSet byte
Résultat void

AssemblyAttributes() public méthode

Get the attributes of this assembly
public AssemblyAttributes ( ) : AssemAttr
Résultat AssemAttr

BuildNumber() public méthode

Get the build number for this Assembly
public BuildNumber ( ) : int
Résultat int

Culture() public méthode

Get the culture information for this Assembly
public Culture ( ) : string
Résultat string

GetSecurity() public méthode

Get the security information for this assembly
public GetSecurity ( ) : PERWAPI.DeclSecurity[]
Résultat PERWAPI.DeclSecurity[]

HasSecurity() public méthode

Check if this assembly has security information
public HasSecurity ( ) : bool
Résultat bool

HashAlgorithm() public méthode

Get the type of the hash algorithm for this Assembly
public HashAlgorithm ( ) : HashAlgorithmType
Résultat HashAlgorithmType

Key() public méthode

Get the public key for this Assembly
public Key ( ) : byte[]
Résultat byte[]

MajorVersion() public méthode

Get the major version number for this Assembly
public MajorVersion ( ) : int
Résultat int

MakeRefOf() public méthode

Make an AssemblyRef descriptor for this Assembly
public MakeRefOf ( ) : AssemblyRef
Résultat AssemblyRef

MinorVersion() public méthode

Get the minor version number for this Assembly
public MinorVersion ( ) : int
Résultat int

RevisionNumber() public méthode

Get the revision number for this Assembly
public RevisionNumber ( ) : int
Résultat int

SetAssemblyAttr() public méthode

Set the attributes for this assembly
public SetAssemblyAttr ( AssemAttr aa ) : void
aa AssemAttr assembly attribute
Résultat void