what I need to do is: Create User account on another machine from my machine using C#. I tried to use DirectoryEntry("WinNt://"....) but it create this account localy in my current machine. I tried many time to add the destination machine name in this method but no way:S. also i googled and found many articles illustrated somethings like this but not actual what i need. any suggestion will be appreciated.
Checkout:
Alternatively, you can spawn a TCP server/service on the server machine, and send commands remotely via messages.
I'd say you'd have to go to a little client server architecture where the remote 'server' creates a local user based on the supplied client data.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.