PostSharp6.4//API Reference/Post­Sharp.​Reflection Namespace/IAssembly­Name Interface/IAssembly­Name Methods/IAssembly­Name.​Get­Public­Key Method

IAssemblyName.GetPublicKey Method

Gets the assembly public key.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
byte[] GetPublicKey()

Field Value

Type: Byte[]
An array of bytes containing the public key, or null if no public key is specified (for instance if only the public key token is given).

Return Value

Type: Byte[]
An array of bytes containing the public key, or null if no public key is specified.
See Also