I have a problem in search process . I want to search specific letter in all running process with c#. for example my process have this process name(notepad,notepad++,note,calc,mspaint) and I want to search "note" ,Result search must be three item (notepad,notepad++,note) because only three process contain "note" . How programing ...
this code found only "notepad" and not found contain letter
Process[] pname = Process.GetProcessesByName("notepad");
if (pname.Length == 0)
{
}
else
{
//some code if process found
}