Skip to content

Get AssemblyPublicKeyToken

apobekiaris edited this page Sep 4, 2020 · 4 revisions

external help file: XpandPwsh-help.xml Module Name: XpandPwsh online version: schema: 2.0.0

Get-AssemblyPublicKeyToken

SYNOPSIS

Returns the PublicKeyToken of an Assembly.

SYNTAX

File (Default)

Get-AssemblyPublicKeyToken [-Assembly] <FileInfo> [<CommonParameters>]

Raw

Get-AssemblyPublicKeyToken -Bytes <Byte[]> [<CommonParameters>]

DESCRIPTION

Returns the PublicKeyToken of an Assembly.

EXAMPLES

Example 1

PS C:\> Get-AssemblyPublicKeyToken .\Xpand.XAF.Modules.Reactive.dll
c52ffed5d5ff0958

Get the PublicKeyToken of the Reactive assembly.

PARAMETERS

-Assembly

{{ Fill Assembly Description }}

Type: FileInfo
Parameter Sets: File
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Bytes

{{ Fill Bytes Description }}

Type: Byte[]
Parameter Sets: Raw
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.IO.FileInfo

System.Byte[]

OUTPUTS

System.Object

NOTES

RELATED LINKS

image

image


Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally