winforms - Get Internet Time instead of pc time in vb.net -


this question has answer here:

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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -