winforms - Get Internet Time instead of pc time in vb.net -
this question has answer here:
- how datetime internet? 7 answers
i have application runs on local machines (multiple users) dtr system. application based on client-server architecture, in need same time on pcs, method when on pc application starts fetch current time internet or server provide accurate , same time users. searched other solutions no luck.
any ideas , alternatives appreciated!
you can query ntp server. server offers information current time. there servers pool.ntp.org or google time servers under time1.google.com , on.
in order query these can refer previous answers complete code on:
how query ntp server using c#?
it's in c# can convert vb.net tools http://codeconverter.sharpdevelop.net/snippetconverter.aspx
Comments
Post a Comment