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? -

android - How to prevent keyboard from closing when bottom dialog is open? -