.NET Framework Bookmark and Share   
 index > .NET Base Class Library > PerformanceCounter throws a SecurityException
 

PerformanceCounter throws a SecurityException

I have an application that computes CPU usage using PerformanceCounter class. When Itried it in XP as an ordinary user,it workswell butwhen I triedexecuting it in Vista it throws a security exception. Did I miss something?
skill_hunter
What is the complete error that you get?

Without more details this may help: http://silentdevelopment.blogspot.com/2007/05/vista-visual-c-express-edition.html

Michael Fischer
_Michael Fischer_
What is the complete error that you get?

Without more details this may help: http://silentdevelopment.blogspot.com/2007/05/vista-visual-c-express-edition.html

Michael Fischer
_Michael Fischer_

You can use google to search for other answers

Custom Search

More Threads

• .Net data exchange problem between managed plug-in and unmanaged application
• How to set the Active Project's Name?
• C# Thread Safe Class events
• Thead.Sleep()
• How do I open an existing Excel file and display the information in a form using VB.NET
• Some questions regarding the FileOptions enumeration in conjunction with the FileStream class
• Converting Hex to Decimal
• Can't xml serialize type of [,]
• Some way to call garbage collection?
• consistent guid/clsid generation for COM interop