C# Class PERWAPI.AssemblyRef

A reference to an external assembly (.assembly extern)
Inheritance: ReferenceScope
Afficher le fichier Open project: xored/f4 Class Usage Examples

Méthodes publiques

Méthode Description
AddCulture ( string cult ) : void

Set the culture for this external assembly

AddHash ( byte hash ) : void

Add the hash value for this external assembly

AddKey ( byte key ) : void

Add the full public key for this external assembly

AddKeyToken ( byte key ) : void

Add the public key token (low 8 bytes of the public key)

AddVersionInfo ( int majVer, int minVer, int bldNo, int revNo ) : void

Add version information about this external assembly

BuildNumber ( ) : int

Get the build number for this external assembly

GetCulture ( ) : string
GetHash ( ) : byte[]

Get the hash value for this external assembly

GetKey ( ) : byte[]

Get the public key token

HasVersionInfo ( ) : bool

Check if this external assembly has any version information

MajorVersion ( ) : int

Get the major version for this external assembly

MakeAssemblyRef ( string name ) : AssemblyRef

Make an AssemblyRef for "name".

MakeAssemblyRef ( string name, int majVer, int minVer, int bldNo, int revNo, byte key ) : AssemblyRef
MinorVersion ( ) : int

Get the minor version for this external assembly

RevisionNumber ( ) : int

Get the revision number for this external assembly

Private Methods

Méthode Description
AssemblyRef ( string name ) : System
AssemblyRef ( string name, ushort maj, ushort min, ushort bldNo, ushort rev, uint flags, byte kBytes, string cult, byte hBytes ) : System
AssemblyString ( ) : string
BuildTables ( MetaDataOut md ) : void
GetCodedIx ( CIx code ) : uint
Read ( PEReader buff ) : AssemblyRef
Read ( PEReader buff, TableRow table ) : void
SetFlags ( uint flags ) : void
Size ( MetaData md ) : uint
Write ( CILWriter output ) : void
Write ( PEWriter output ) : void

Method Details

AddCulture() public méthode

Set the culture for this external assembly
public AddCulture ( string cult ) : void
cult string the culture string
Résultat void

AddHash() public méthode

Add the hash value for this external assembly
public AddHash ( byte hash ) : void
hash byte bytes of the hash value
Résultat void

AddKey() public méthode

Add the full public key for this external assembly
public AddKey ( byte key ) : void
key byte bytes of the public key
Résultat void

AddKeyToken() public méthode

Add the public key token (low 8 bytes of the public key)
public AddKeyToken ( byte key ) : void
key byte low 8 bytes of public key
Résultat void

AddVersionInfo() public méthode

Add version information about this external assembly
public AddVersionInfo ( int majVer, int minVer, int bldNo, int revNo ) : void
majVer int Major Version
minVer int Minor Version
bldNo int Build Number
revNo int Revision Number
Résultat void

BuildNumber() public méthode

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

GetCulture() public méthode

public GetCulture ( ) : string
Résultat string

GetHash() public méthode

Get the hash value for this external assembly
public GetHash ( ) : byte[]
Résultat byte[]

GetKey() public méthode

Get the public key token
public GetKey ( ) : byte[]
Résultat byte[]

HasVersionInfo() public méthode

Check if this external assembly has any version information
public HasVersionInfo ( ) : bool
Résultat bool

MajorVersion() public méthode

Get the major version for this external assembly
public MajorVersion ( ) : int
Résultat int

MakeAssemblyRef() public static méthode

Make an AssemblyRef for "name".
public static MakeAssemblyRef ( string name ) : AssemblyRef
name string The name of the assembly
Résultat AssemblyRef

MakeAssemblyRef() public static méthode

public static MakeAssemblyRef ( string name, int majVer, int minVer, int bldNo, int revNo, byte key ) : AssemblyRef
name string
majVer int
minVer int
bldNo int
revNo int
key byte
Résultat AssemblyRef

MinorVersion() public méthode

Get the minor version for this external assembly
public MinorVersion ( ) : int
Résultat int

RevisionNumber() public méthode

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