DelphiFAQ Home Search:

Getting the system time of another machine on LAN


commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.


How can I get the system time of another machine on Lan? Thanx


Windows NT:

See API for function NetRemoteTOD


function NetRemoteTOD (UncServerName: LPCWSTR; BufferPtr: Pointer): NET_API_STATUS; stdcall;

Win 9x supports this in a 16bit library, so you either need to write an external 16bit application or you use thunking to call the 16bit DLL from your 32bit app.
There is a freeware unit QTthunk that I used years ago.. search the net for file


2015-01-30, 23:46:34
anonymous from Netherlands  
说道:Simply desire to say your artlcie is as amazing. The clarity inyour post is simply spectacular and i can assume you're an expert on this subject. Fine with your permission let me to grab your feed to keep up to date with forthcoming post. Thanks a million and please carry on the rewarding work.



NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: