title: PerformanceCounter and remote machine
body: <p>I'm trying watch cpu performance on remote machine viwth <code>System.Diagnostics.PerformanceCounter</code> class.
  The local machine is Win7, the remote machine is Win Server 2008 Web Edition. Computers are not in workgroup and/or domain.</p>
  
  <p>If I create performance counter for remote machine <code>new PerformanceCounter("processor", "% Processor Time", "_Total", machineName);</code> I get the "Access is denied" exception.</p>
  
  <p>I tried the <a href="http://msdn.microsoft.com/cs-cz/library/w070t6ka.aspx" rel="nofollow">Impersonation Sample</a>, but I can not logon to user at the remote machine.</p>
  
  <p>How can I get performance data from remote machine?
  Thanks.</p>