첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
------------------------------------------------------------------------------------------------------------------------------------------------------
728x90
728x170

■ AssemblyName 클래스의 ProcessorArchitecture 속성을 사용해 플랫폼 프로세서를 구하는 방법을 보여준다.

 

▶ 예제 코드 (C#)

using System;
using System.Reflection;

Assembly     assembly     = Assembly.GetExecutingAssembly();
AssemblyName assemblyName = assembly.GetName();

Console.WriteLine(assemblyName.ProcessorArchitecture);

※ Any CPU로 컴파일한 경우 MSIL이 출력된다.

728x90
그리드형(광고전용)
Posted by icodebroker
,