C# 클래스 PERWAPI.Assembly

Descriptor for an assembly (.assembly)
상속: DefiningScope
파일 보기 프로젝트 열기: xored/f4 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

AddAssemblyAttr() 공개 메소드

Add an attribute for this assembly
public AddAssemblyAttr ( AssemAttr aa ) : void
aa AssemAttr assembly attribute
리턴 void

AddAssemblyInfo() 공개 메소드

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
리턴 void

AddSecurity() 공개 메소드

Add some security action(s) to this Assembly
public AddSecurity ( SecurityAction act, byte permissionSet ) : void
act SecurityAction
permissionSet byte
리턴 void

AssemblyAttributes() 공개 메소드

Get the attributes of this assembly
public AssemblyAttributes ( ) : AssemAttr
리턴 AssemAttr

BuildNumber() 공개 메소드

Get the build number for this Assembly
public BuildNumber ( ) : int
리턴 int

Culture() 공개 메소드

Get the culture information for this Assembly
public Culture ( ) : string
리턴 string

GetSecurity() 공개 메소드

Get the security information for this assembly
public GetSecurity ( ) : PERWAPI.DeclSecurity[]
리턴 PERWAPI.DeclSecurity[]

HasSecurity() 공개 메소드

Check if this assembly has security information
public HasSecurity ( ) : bool
리턴 bool

HashAlgorithm() 공개 메소드

Get the type of the hash algorithm for this Assembly
public HashAlgorithm ( ) : HashAlgorithmType
리턴 HashAlgorithmType

Key() 공개 메소드

Get the public key for this Assembly
public Key ( ) : byte[]
리턴 byte[]

MajorVersion() 공개 메소드

Get the major version number for this Assembly
public MajorVersion ( ) : int
리턴 int

MakeRefOf() 공개 메소드

Make an AssemblyRef descriptor for this Assembly
public MakeRefOf ( ) : AssemblyRef
리턴 AssemblyRef

MinorVersion() 공개 메소드

Get the minor version number for this Assembly
public MinorVersion ( ) : int
리턴 int

RevisionNumber() 공개 메소드

Get the revision number for this Assembly
public RevisionNumber ( ) : int
리턴 int

SetAssemblyAttr() 공개 메소드

Set the attributes for this assembly
public SetAssemblyAttr ( AssemAttr aa ) : void
aa AssemAttr assembly attribute
리턴 void