GUID from dll/exe file

Posted on 2007-08-10
Last Modified: 2013-11-07
I need to get a GUID from a dll and exe file
Question by:Micki-Weaver
    LVL 13

    Expert Comment

    Do you mean a hash of the file?

    Author Comment

    no GUID, that may be a hash but GUID
    LVL 9

    Accepted Solution

    something like this:

     Assembly ass= Assembly.GetAssembly(typeof(int));
     object[] o = ass.GetCustomAttributes(typeof(GuidAttribute), false);
      if (o.Length != 0)

    Author Comment

    I'll give 250 points for that, it has a hole in it

    you can only detect the GUID for .net apps I would like to probe

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
    This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now