Code:
public void yenile()
{
int num = 0;
foreach (Process process in Process.GetProcesses())
{
this.listBox1.Items.Add((object) process.ProcessName);
++num;
}
this.listBox1.SelectedIndex = 0;
this.label2.Text = num.ToString();
}
Which in turn calls
Code:
status = NativeMethods.NtQuerySystemInformation(
NativeMethods.NtQuerySystemProcessInformation,
bufferHandle.AddrOfPinnedObject(),
bufferSize,
out requiredSize);
'see applications that you can't see in taskmanager' - this is exactly what the Windows7 Taskmanager calls as well.