Click here to Skip to main content
15,909,827 members
Home / Discussions / C#
   

C#

 
GeneralAssemblies in .NET Pin
richard nixon12-Jun-04 10:13
richard nixon12-Jun-04 10:13 
GeneralRe: Assemblies in .NET Pin
Heath Stewart12-Jun-04 10:28
protectorHeath Stewart12-Jun-04 10:28 
Generalunhandled exeption in ListView Pin
Aron Henning12-Jun-04 5:23
Aron Henning12-Jun-04 5:23 
GeneralRe: unhandled exeption in ListView Pin
leppie12-Jun-04 5:41
leppie12-Jun-04 5:41 
GeneralCONTROLLING PROCESSES Pin
_Comet_Keeper_12-Jun-04 4:52
_Comet_Keeper_12-Jun-04 4:52 
GeneralRe: CONTROLLING PROCESSES Pin
Heath Stewart12-Jun-04 5:00
protectorHeath Stewart12-Jun-04 5:00 
GeneralRe: CONTROLLING PROCESSES Pin
_Comet_Keeper_12-Jun-04 10:07
_Comet_Keeper_12-Jun-04 10:07 
GeneralRe: CONTROLLING PROCESSES Pin
Heath Stewart12-Jun-04 10:34
protectorHeath Stewart12-Jun-04 10:34 
_Comet_Keeper_ wrote:
1. where can I find more infos on how AV works??

There's no compedium of information about this. This is the result of years of research and experience into computer science and in-depth knowledge of the operating system you would target.

_Comet_Keeper_ wrote:
it's too late to kill or close it.

No it's not. Call Process.CloseMainWindow followed by Process.Close to exit the process gracefully, or Process.Kill to end the task.

Seriously, though, it sounds like you're trying to write AV-like software, where users are prompted if an unapproved application is started. First of all, 99% of users don't know what 99% of the processes are their system are. Many processes are Windows Services. Many processes run periodically to maintain the system. You're expecting too much of your clients. Besides, if you are going to right this type of management software, you should have more in-depth knowledge of the operating system.

For example, if you understand Windows Hooks, you can hook messages like WH_CBT to know when Windows are created. While you can do this in C# (search for "Windows Hooks" in the C# category here at CodeProject), it's very inefficient and you should definitely think about performance when righting such hooks (no matter what language you use).

 

Microsoft MVP, Visual C#
My Articles
GeneralBandwidth usage info Pin
Liskl12-Jun-04 2:19
Liskl12-Jun-04 2:19 
GeneralRe: Bandwidth usage info Pin
Heath Stewart12-Jun-04 4:47
protectorHeath Stewart12-Jun-04 4:47 
GeneralNewbish Question on Child/Parent Issues Pin
Anonymous11-Jun-04 23:39
Anonymous11-Jun-04 23:39 
GeneralRe: Newbish Question on Child/Parent Issues Pin
bneacetp12-Jun-04 0:45
bneacetp12-Jun-04 0:45 
GeneralRe: Newbish Question on Child/Parent Issues Pin
Heath Stewart12-Jun-04 5:10
protectorHeath Stewart12-Jun-04 5:10 
GeneralTimeZone problem Pin
Andy *M*11-Jun-04 23:34
Andy *M*11-Jun-04 23:34 
GeneralRe: TimeZone problem Pin
Dave Kreskowiak12-Jun-04 2:08
mveDave Kreskowiak12-Jun-04 2:08 
GeneralRe: TimeZone problem Pin
Andy *M*12-Jun-04 2:58
Andy *M*12-Jun-04 2:58 
GeneralRe: TimeZone problem Pin
Heath Stewart12-Jun-04 5:07
protectorHeath Stewart12-Jun-04 5:07 
GeneralSending message to a window Pin
DavidR_r11-Jun-04 21:50
DavidR_r11-Jun-04 21:50 
GeneralRe: Sending message to a window Pin
Anonymous11-Jun-04 23:33
Anonymous11-Jun-04 23:33 
GeneralRe: Sending message to a window Pin
Heath Stewart12-Jun-04 5:03
protectorHeath Stewart12-Jun-04 5:03 
GeneralRFID - Capturing Data Pin
Tarakeshwar11-Jun-04 21:24
Tarakeshwar11-Jun-04 21:24 
GeneralRe: RFID - Capturing Data Pin
Andy *M*11-Jun-04 23:22
Andy *M*11-Jun-04 23:22 
GeneralRe: RFID - Capturing Data Pin
Heath Stewart12-Jun-04 4:51
protectorHeath Stewart12-Jun-04 4:51 
Generalc# Stream buffer problem Pin
Liskl11-Jun-04 19:14
Liskl11-Jun-04 19:14 
GeneralRe: c# Stream buffer problem Pin
leppie11-Jun-04 20:53
leppie11-Jun-04 20:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.