Results 1 to 6 of 6

Thread: How to get information stored in an exe ?

  1. #1
    Join Date
    Dec 2008
    Posts
    150

    How to get information stored in an exe ?

    Well, I would like to know if it is possible to retrieve information stored in an executable, such as a certificate of authentication, to be sure that exe tested corresponds to the file.

  2. #2
    Join Date
    May 2008
    Posts
    271

    Re: How to get information stored in an exe ?

    A comparison of hash file would not ?

    Exe is otherwise a simple binary file, it reads smoothly.

  3. #3
    Join Date
    Dec 2008
    Posts
    150

    Re: How to get information stored in an exe ?

    In fact, the file test may not be the same every time. It has the same name, but probably not the same size and content. So, I would have liked to read data to make sure that this is a "valid", in much the same way we read EXIF data of a JPEG photo for example. Whether to accept a picture taken with the camera X, then the file is considered valid.

    And if not, what method do you use to read the file?

  4. #4
    Join Date
    May 2008
    Posts
    271

    Re: How to get information stored in an exe ?

    With a StreamReader or BinaryReader simply.

    After than you have to go about the file structure to know where to retrieve information that may help you verify the validity of that file.

  5. #5
    Join Date
    May 2008
    Posts
    3,971

    Re: How to get information stored in an exe ?

    Are you trying to have an executable such as plugin architecture for your application, but wanted to do some checks before loading those. Then look at this link:

    http://blogs.msdn.com/shawnfa/archiv...07/150378.aspx

  6. #6
    Join Date
    Dec 2008
    Posts
    150

    Re: How to get information stored in an exe ?

    Thank you for everything!

    I think I can achieve my purpose with these informations.

Similar Threads

  1. Using stored procedures and stored functions in MySQL
    By Adiran in forum Software Development
    Replies: 6
    Last Post: 14-12-2010, 01:54 AM
  2. What is SQL Stored Procedures?
    By technika in forum Software Development
    Replies: 5
    Last Post: 20-02-2010, 05:00 PM
  3. Where does PHP session stored?
    By joel84 in forum Software Development
    Replies: 3
    Last Post: 10-09-2009, 02:32 PM
  4. where the UT3 cd key is stored?
    By Carl Lewis in forum Windows Software
    Replies: 3
    Last Post: 24-06-2009, 10:57 AM
  5. where are emoticons stored
    By Jemond in forum MS Office Support
    Replies: 1
    Last Post: 17-09-2006, 01:14 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,573,452.80956 seconds with 16 queries