Hi,
You could check the assembly public key token (using
AssemblyName.GetPublicKeyToken method).
In this case, you will be able to compare the token value to well-known ECMA
and Microsoft tokens.

Signature
Andriy Gnennyy
pulsar2003@{no-spam}email.ru (Please remove {no-spam} for reply)
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Hi,
I am using the StackTrace class to loop through the entire stack trace of my
application. I am doing this to check my calling assemblies for some
security purposes. But I have a problem now. I don't want to check on
"system" assemblies (like System.Windows.Forms, etc.). I have to stop
looping through the stack trace the moment I enter into the "system" area.
And I don't want to check by name (like checking for assemblies starting
with "system."), as this would also mean a kind of security risk. Is there
any other reliable way that I can differentiate between "system" assemblies
and other assemblies on the stack trace?
Thanks and Regards,
N.T.Gopalakrishnan
-----------------------
<Id>A9mx2FmF9UKEW+lfLgOpPw==</Id