C#: registry keys..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PRR
    Recognized Expert Contributor
    • Dec 2007
    • 750

    C#: registry keys..

    i want to add/modify

    HKEY_LOCAL_MACH INE\System\Curr entControlSet\S ervices\SysmonL og\Log Queries

    i might warn u guys .. i practically ..dunno much abt registry ..

    I want to define my own performance ALERTS ... i m aware of Performance Counters.. class in .net.. also WMI...They dont help me here.. as i want to know when processor usage went by 90% ..

    i would recommend readin this
    http://support.microso ft.com/kb/302558

    in your windows xp...(control panel)... Go to administrator tools....click on Performance->Performance Logs and Alerts
    i want to create "Alerts" my own alerts .... Like keep a tab on processor usage.. if it exceeds 80%.. So each time this happens... A log is created in Windows application Log... THis lof source is SYSMONlog which i intent to read...Now i can use design view and create performance ALERTS ... not "Counters". .. For "Performanc e Counters" there is already a class..



    how do i proceed .. assuming i will do it by moddifying registry keys...
    Also if i can do it programmaticall y i will be grateful..

    THanks in advance...
Working...