{.NET} Come sapere l’architettura di un assembly

{.NET} Come sapere l’architettura di un assembly


Il sistema piu’ facile per sapere su qale architetura e’ stato compilato un assembly, e’ quello di aprire una console PowerShell e utilizzare il seguente comando:
[reflection.assemblyname]::GetAssemblyName("${pwd}\MyAssembly.DLL") | fl
[...]
ProcessorArchitecture : X86
[...]
Ecco la lista dei valori possibili (MSDN):
DESCRIPTION
Amd64
A 64-bit AMD processor only.
Arm
An ARM processor.
IA64
A 64-bit Intel processor only.
MSIL
Neutral with respect to processor and bits-per-word.
None
An unknown or unspecified combination of processor and bits-per-word.
X86
A 32-bit Intel processor, either native or in the Windows on Windows environment on a 64-bit platform (WOW64).

Post popolari in questo blog

Commentare o Scommentare

{ORACLE} Come chiudere LOCK su transazioni distribuite