336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

질문 


Can somebody tell me what is PublicKeyToken=b03f5f7f11d50a3a"  ? and where that magic number comes from?
PublicKeyToken=b03f5f7f11d50a3a" 가 무슨 뜻인지 그리고 이 값은 어디서 나온건지 알려 주실 분?


답변


Assemblies are typically identified by their simple text name, version, and culture.  
일반적으로 어셈블리는 간단한 텍스트 이름, 버젼, 문화로 인증된다.
Sometimes, this is not sufficient, and it is necessary to uniquely identify an assembly.  
때에 따라, 이는 충분치 않으며, 어셈블리를 식별할 수 있는 유일한 것을 필요로 한다.
For example, it is necessary to uniquely identify an assembly if you wish to load it into the GAC, because it is possible that two different version of an assembly with the same manifest exist in the GAC.  
예를 들어, GAC에서 로드한 어셈블리는 유일한 식별 값을 필요로 하게 된다, 왜냐하면 GAC 안에 같은 MANIFEST로 되어 있는 어셈블리가 2가지 버젼으로 존재 하는것이 가능하기 때문이다.
To avoid collission, and create a truely unique identity, you create what is called a strong name, and sign your assembly with this strong name.  
이러한 충돌을 회피하려면, 유일한 식별 값을 생성하고, 이를 강력한 이름(STRONG NAME)이라 부르며, 만든 어셈블리에 강력한 이름으로 서명 할 수 있게 된다.
A strong name is defined by MSDN as:
MSDN에서는 강력한 이름을 이렇게 정의하고 있다.
A strong name consists of the assembly's identity—its simple text name, version number, and culture information (if provided)—plus a public key and a digital signature. 
어셈블리의 강력한 이름은 텍스트 이름, 버젼 번호, 문화 정보 (지원 된다면), 공용 키와 디지털 서명으로 구성되어 있다.
It is generated from an assembly file using the corresponding private key. (The assembly file contains the assembly manifest, which contains the names and hashes of all the files that make up the assembly.)
어셈블리로 파일로 만들어진 강력한 이름은 개인 키에 대응 되어 사용된다.( 어셈블리 파일은 어셈블리를 구성하는 모든 파일의 해쉬와 이름을 담고 있는 어셈블리 manifest를 담고 있다.)




+ Recent posts