Get time and date from local network pc/server - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Get time and date from local network pc/server


I'm trying to retrieve the time/date from a lan pc/server so I can
update an ethernet-based PDA device.

I've been working on using the netapi32 library but can't seem to get
it working on the device and get this error:
[b]Can't find PInvoke 'netapi32'[/b] (even with netapi32[b].dll[/b])

The project is created in 2008 (Smart Device Project)
The emulator and actual device return the same error.

What am I suppose to do to get this dll working on the device ?

Any help, appreciated!
Sign In or Register to comment.