¡@

Home 

c# Programming Glossary: computername

how to get logged on users with their status on remote machine

http://stackoverflow.com/questions/14212155/how-to-get-logged-on-users-with-their-status-on-remote-machine

class Program static void Main string args try string ComputerName remote machine ManagementScope Scope if ComputerName.Equals.. ComputerName remote machine ManagementScope Scope if ComputerName.Equals localhost StringComparison.OrdinalIgnoreCase ConnectionOptions.. Scope new ManagementScope String.Format 0 root CIMV2 ComputerName Conn else Scope new ManagementScope String.Format 0 root CIMV2..

User logged into remote machine

http://stackoverflow.com/questions/5067240/user-logged-into-remote-machine

sure if this is the best way public void GetCompDet string ComputerName CurrentSystem ComputerName ConnectionOptions options new ConnectionOptions.. public void GetCompDet string ComputerName CurrentSystem ComputerName ConnectionOptions options new ConnectionOptions ManagementScope.. ManagementScope moScope new ManagementScope @ ComputerName @ root cimv2 try moScope.Connect catch return ObjectQuery..

Accessing a Shared File (UNC) From a Remote, Non-Trusted Domain With Credentials

http://stackoverflow.com/questions/659013/accessing-a-shared-file-unc-from-a-remote-non-trusted-domain-with-credentials