Setting net time on C# program -


i syncing date , time on 3 computers on network without internet.

i have command on cmd net time \\pcname /set /y seems working, problem how execute query on c# program?   

easy :)

system.diagnostics.process.start("cmd.exe", @"net time \pcname /set /y"); 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -