I don't know whether there's a proper ".Net way" to do this, but you could
always use PInvoke to call the API function NetRemoteTOD. If you want to go
this way I have some sample code in C++ that may be useful - email me off
list if you want it.
Chris Jobson
"Shruti Dube" <Sh********@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
Hello
Could someone please guide me on how to write an application to access the
time on a remote machine on my LAN.
What I want to do is a csharp equivalent to what the command "net
time\\nameof the computer" in cmd.
Thank You