P
P
Pythonchik32020-07-24 14:54:27
C++ / C#
Pythonchik3, 2020-07-24 14:54:27

C# how to get the time from internet?

Hello!
Can you tell me how to get the current time in C # (I am writing a toy in unity). It is necessary to work with the Internet - you cannot get time from a computer. It is necessary to make a product that works only UNTIL a certain date.
Any hint will be glad.
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
#
#, 2020-07-24
@Pythonchik3

!!! from zhesh haste .. yes, and old age .. didn’t even look at the output (I dumped nntp at the beginning ;(( .. correcting:
ntp
c# ntp
unity ntp
ps
ntp servers

I
itgood, 2020-07-24
@itgood

Parsi from Ineta time and that's it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question