What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Process Mode .NET

Process Mode .NET
Author: Message:
leito
Senior Member
****

Avatar
Chameleon by KeyStorm

Posts: 720
Reputation: 5
37 / Male / –
Joined: Apr 2003
O.P. Wink  Process Mode .NET
Hey guys, I need your help. Iīm doing a Task Manager type application. For a Operating Systems class. I'm using the Diagnostics.Process to get almost all things they ask me too, but I canīt find a way to get the "mode". What I want is to know if the process is running in (priviledged mode or user mode)?.


Thank you in advance for your answer,

Leito.
[Image: leonelgalan.png]
02-22-2006 03:34 AM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Process Mode .NET
http://msdn.microsoft.com/library/default.asp?url...cessClassTopic.asp
02-22-2006 04:00 AM
Profile E-Mail PM Find Quote Report
leito
Senior Member
****

Avatar
Chameleon by KeyStorm

Posts: 720
Reputation: 5
37 / Male / –
Joined: Apr 2003
O.P. RE: Process Mode .NET
Thanks Matty, as I mentioned. I'm using the Process class, but I can't find a way to get the current mode in which the process is running (user or priviledge(monitori/kernel)).

Maybe their is another way... since I can't find it in the Process class.
[Image: leonelgalan.png]
02-22-2006 07:16 AM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Process Mode .NET
The way Windows works is that all processes run in user mode, and only the kernel is in priviledged mode. A process making a system call basically calls kernel code, which is already priviledged.

In fact, on most OSes, processes all run in user mode. This way, they're protected from damaging each other.
[Image: spartaafk.png]
02-22-2006 01:17 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On