Re: How to verify Exe or Dll files?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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

"Richard T. Edwards" <redwar2006@xxxxxxxxxxx>
??????:%23BWJuJPbHHA.4544@xxxxxxxxxxxxxxxxxxxxxxx
Dim FVInfo As FileVersionInfo = FileVersionInfo.GetVersionInfo(Path and
Filename)


"yxq" <gayxq@xxxxxxx> wrote in message
news:en13dKIbHHA.4544@xxxxxxxxxxxxxxxxxxxxxxx
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






.



Relevant Pages