title: .NET - get processes running on a machine in another domain
body: <p>I am looking for a way, from .NET code, to get the list of running processes on a remote machine, which is on a different domain.</p>
  
  <p>I have the username and password for the machine.  However, the System.Diagnostics.Process.GetProcesses() function only has two overrides.  One of them accepts a remote machine's name, but no way to send the username and password to that machine.  In order for the punciton to work, it would have to be a machine on your domain that you already have access to.</p>
  
  <p>I'm not 100% sure if this can be done, but I suspect it could be done via Interop and WMI.</p>
  
  <p>If it matters, the .NET app is running on a Windows 7 monitoring machine that needs to connect to a Windows XP machine out in one of our retail locations.</p>
  
  <p>I have tried searching for previous questions and tried Google before posting this question.  If there is a duplicate question out there, please let me know and I'll delete this question.</p>