PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Assembly­Ref­Declaration Class / Assembly­Ref­Declaration Methods / Assembly­Ref­Declaration.​Get­Public­Key­Token Method

AssemblyRefDeclaration.GetPublicKeyToken Method

Gets the public key token.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public byte[] GetPublicKeyToken()

Return Value

Type: Byte[]

[Missing <returns> documentation for "M:PostSharp.Sdk.CodeModel.AssemblyRefDeclaration.GetPublicKeyToken"]

Implements

IAssemblyName.GetPublicKeyToken()
Remarks
The PublicKey flag should be cleared on the Attributes property.
See Also