How to verify Exe or Dll files?

  • Thread starter Thread starter yxq
  • Start date Start date
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
 
Dim FVInfo As FileVersionInfo = FileVersionInfo.GetVersionInfo(Path and
Filename)
 
Thank you, but your code only get file Version info, i want to get the info
of digital signature.
 
Back
Top