다음을 통해 공유


AssemblyIdentity.PublicKeyToken Property

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property PublicKeyToken As String
public string PublicKeyToken { get; set; }
public:
property String^ PublicKeyToken {
    String^ get ();
    void set (String^ value);
}
member PublicKeyToken : string with get, set
function get PublicKeyToken () : String 
function set PublicKeyToken (value : String)

Property Value

Type: System.String
A string indicating the public key token of the assembly.

.NET Framework Security

See Also

Reference

AssemblyIdentity Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace