How to verify Exe or Dll files?

Y

yxq

Hello,
I want to verify the digital signature of EXE or DLL file, in order to know
if they published by Microsoft, like the software "Process Explorer",
download link is below
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx

Select a process, view Properties/Image, click "verify" button to view if
the file has been verfied.

I have searched internet, find the API WinVerifyTrust and some C++ code(link
below), can anyone tell how use WinVerifyTrust in VB.NET?

http://www.derkeiler.com/Newsgroups/microsoft.public.platformsdk.security/2006-05/msg00020.html

Thank you
Steven
 
R

Richard T. Edwards

Dim FVInfo As FileVersionInfo = FileVersionInfo.GetVersionInfo(Path and
Filename)
 
Y

yxq

Thank you, but your code only get file Version info, i want to get the info
of digital signature.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top