SetPublicKeyToken Method
Collapse the table of content
Expand the table of content

AssemblyName.SetPublicKeyToken Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Sets the public key token, which is the last 8 bytes of the SHA-1 hash of the public key under which the application or assembly is signed.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public void SetPublicKeyToken(
	byte[] publicKeyToken
)

Parameters

publicKeyToken
Type: System.Byte []
A byte array that contains the public key token of the assembly.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft