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

python - Alternative to referencing variable before assignment -

vb.net - How to ignore if a cell is empty nothing -

Sort a complex associative array in PHP -