You can check the public key token of the assembly. Microsoft builds (BCL) will install the public key token b77a5c561934e089 or b03f5f7f11d50a3a . In WPF builds, the public key token 31bf3856ad364e35 will be installed.
In general, to get the assembly public key token, you can use sn.exe -Tp foo.dll . sn.exe is part of the Windows SDK that you should already have.
You can get the public key token from the fully typeof(string).Assembly.FullName name of the assembly (e.g. typeof(string).Assembly.FullName ), which is just a string, or you can get the raw byte of the public key token from the assembly by running P / Invoke in StrongNameTokenFromAssembly .
source share