I want to get another system's time which is a server where both systems are connected through LAN. Give me some ideas?
+2
A:
Check this out: An SNTP Client in C#
Or, for the REALLY simple solution, shell out to NET TIME
net time \\computer
And capture the stdout.
John Gietzen
2009-11-10 05:52:22
I like the `net time` solution: no extra dependencies.
Luke Quinane
2009-11-10 05:58:29
Is there any possibilities of using other system time
ush
2009-11-10 06:29:15
A:
If the server is a windows operating system, you could try to get the time remotely using WMI
Andrew Keith
2009-11-10 05:56:17