zl程序教程

您现在的位置是:首页 >  其他

当前栏目

查看HearthBuddy.exe文件是x86还是x64版本

文件 查看 版本 还是 exe x86 X64
2023-09-11 14:14:20 时间

https://www.cnblogs.com/chucklu/p/10020221.html

 使用Powershell查看

PS C:\repository\GitHub\ChuckLu\Test\HearthbuddyRelease> [reflection.assemblyname]::GetAssemblyName("./Hearthbuddy.exe") | fl

Name : Hearthbuddy
Version : 0.3.1446.417
CultureInfo :
CultureName :
CodeBase :
EscapedCodeBase :
ProcessorArchitecture : X86
ContentType : Default
Flags : PublicKey
HashAlgorithm : SHA1
VersionCompatibility : SameMachine
KeyPair :
FullName : Hearthbuddy, Version=0.3.1446.417, Culture=neutral, PublicKeyToken=f74ebfe26ced5825

 

使用Visual Studio的开发者命令工具查看

**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.1.3
** Copyright (c) 2019 Microsoft Corporation
**********************************************************************

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>cd "C:\repository\GitHub\ChuckLu\Test\HearthbuddyRelease"

C:\repository\GitHub\ChuckLu\Test\HearthbuddyRelease>corflags ./Hearthbuddy.exe
Microsoft (R) .NET Framework CorFlags Conversion Tool. Version 4.6.1055.0
Copyright (c) Microsoft Corporation. All rights reserved.

Version : v4.0.30319
CLR Header: 2.5
PE : PE32
CorFlags : 0xb
ILONLY : 1
32BITREQ : 1
32BITPREF : 0
Signed : 1