Home > Uncategorized > hash file c

hash file c

hash file c
Identify a process in C#?

I want to identify a process uniquely.
I mean say i have a abc.exe file. now when I run it i can detect if abc.exe process is running or not.
but if there is another process with the same name than how will i know which one is running.
I mean i want to block a process. now if i block something with the name abc.exe than anything matching that name will be blocked too. I cant use the process id too as it changes on different execution event.

I need to do it in C#.
is there something related to hash code or signature?

Not sure if this helps but you can start and monitor processes in the following way:

using System.Diagnostics;

ProcessStartInfo psi
= new ProcessStartInfo(appPath, arguments);

// start process
Process processApp;
processApp = Process.Start(psi);

// wait for process to end before moving on
processApp.WaitForExit();

or

// end process
processApp.Kill();

How to mod xbox 360 avater color & hair color


Contour+ Plus Camera


Contour+ Plus Camera


$499.99


With the largest lens of any PoV camera, the Contour+ captures beautiful 1080p video. The 2.8 aperture, 170° wide-angle rotating lens delivers the truest, high quality image with minimal distortion and fish-eye. It records and streams Full HD in all its glory – all from Contour’s unique, award-winning form-factor….

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay

Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.

Comment moderation is enabled. Your comment may take some time to appear.