C# Class System.Reflection.AssemblyName

Inheritance: ICloneable, ISerializable, IDeserializationCallback, _AssemblyName
显示文件 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
AssemblyName ( ) : System
AssemblyName ( String assemblyName ) : System
Clone ( ) : Object
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetPublicKey ( ) : byte[]
GetPublicKeyToken ( ) : byte[]
OnDeserialization ( Object sender ) : void
SetPublicKey ( byte publicKey ) : void
SetPublicKeyToken ( byte publicKeyToken ) : void
ToString ( ) : String

Private Methods

Method Description
AssemblyName ( SerializationInfo info, StreamingContext context ) : System
EscapeCodeBase ( String codeBase ) : String
GetAssemblyName ( String assemblyFile ) : AssemblyName
Init ( String name, byte publicKey, byte publicKeyToken, Version version, System.Globalization.CultureInfo cultureInfo, AssemblyHashAlgorithm hashAlgorithm, AssemblyVersionCompatibility versionCompatibility, String codeBase, AssemblyNameFlags flags, StrongNameKeyPair keyPair ) : void
ReferenceMatchesDefinition ( AssemblyName reference, AssemblyName definition ) : bool
SetHashControl ( byte hash, AssemblyHashAlgorithm hashAlgorithm ) : void
_AssemblyName ( [ riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId ) : void
_AssemblyName ( uint &pcTInfo ) : void
_AssemblyName ( uint dispIdMember, [ riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr ) : void
_AssemblyName ( uint iTInfo, uint lcid, IntPtr ppTInfo ) : void
nGetFileInformation ( String s ) : AssemblyName
nGetPublicKeyToken ( ) : byte[]
nInit ( Assembly &assembly, bool forIntrospection, bool raiseResolveEvent ) : int
nInit ( ) : void
nToString ( ) : String

Method Details

AssemblyName() public method

public AssemblyName ( ) : System
return System

AssemblyName() public method

public AssemblyName ( String assemblyName ) : System
assemblyName String
return System

Clone() public method

public Clone ( ) : Object
return Object

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

GetPublicKey() public method

public GetPublicKey ( ) : byte[]
return byte[]

GetPublicKeyToken() public method

public GetPublicKeyToken ( ) : byte[]
return byte[]

OnDeserialization() public method

public OnDeserialization ( Object sender ) : void
sender Object
return void

SetPublicKey() public method

public SetPublicKey ( byte publicKey ) : void
publicKey byte
return void

SetPublicKeyToken() public method

public SetPublicKeyToken ( byte publicKeyToken ) : void
publicKeyToken byte
return void

ToString() public method

public ToString ( ) : String
return String