Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 12-12-2008
Member
 
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.
Reply With Quote
  #2  
Old 12-12-2008
XSI XSI is offline
Member
 
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.
Reply With Quote
  #3  
Old 12-12-2008
Member
 
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?
Reply With Quote
  #4  
Old 12-12-2008
XSI XSI is offline
Member
 
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.
Reply With Quote
  #5  
Old 12-12-2008
Member
 
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
Reply With Quote
  #6  
Old 12-12-2008
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to get information stored in an exe ?"
Thread Thread Starter Forum Replies Last Post
Using stored procedures and stored functions in MySQL Adiran Software Development 6 14-12-2010 01:54 AM
What is SQL Stored Procedures? technika Software Development 5 20-02-2010 05:00 PM
Where does PHP session stored? joel84 Software Development 3 10-09-2009 02:32 PM
where the UT3 cd key is stored? Carl Lewis Windows Software 3 24-06-2009 10:57 AM
where are emoticons stored Jemond MS Office Support 1 17-09-2006 01:14 PM


All times are GMT +5.5. The time now is 08:48 AM.