Ask a Question related to ASP.NET Security, Design and Development.
-
Mo #1
How to find user name for a task process running in windows 2k
Hi
I am using the System.Diagnostics.Process class to find information about the running process on, lets say win2k. I can get to almost all the information I need from the Process object except the user name that the process is running as. In the Task Manager, I can see the process Image Name, User Name, CPU, etc. Here is the code example of what I am doing
Process[] procs = null
string processList = ""
procs = Process.GetProcesses()
for(int i = 0; i <= procs.GetUpperBound(0); i++
Console.WriteLine(procs[i].ProcessName.ToString() + " is still responding!")
The question is, how can I get to the User Name for a specific process? Do I have to use Win API to do this? Thanks in advance
Cheer
Mo Guest
-
How to fine tune the user logon process to a windows 2003 domain
Hi, guys does anyone kown how to fine tune the user logon process to the 2003 server domain ? My user had to take more than 30sec to logon to... -
Closing PDF document is not removing the process from task list
I am opening the pdf document in IE6. When I close the explorer, the document seems to be closed but the AcroRd32.exe still stays in the task list.... -
Running program in exec() in Windows with a different user
Hi, I have been using exec() and shell_exec() quite fine many times. My problem now is that applications runned thru exec() and shell_exec() (and... -
In a C program. How to find if a process is still running
Is there any way in a program of finding if a process id is still valid? I know I could do a popen("ps -p pid"), etc, but that is slow. Is... -
Task Manager process
When open TaskManager, under Processes tab I see a "Inactive process of..." from System. I can't get to see entire name of this process. How can I...



Reply With Quote

