C #: check the current date on the Internet?

How to check the actual date and time using an internet connection? I would like to receive a response from the server as a simple string; I do not want to parse the HTML response.

+3
source share
4 answers

Here is a message about getting Internet time: C #: Get NIST time on the Internet

+5
source

You can find a lot of information about getting the date and time from the server here .

This page lists several protocols that are designed to request and receive the date and time:

, . , .

, , :

( DAYTIME) (NTP )

+4

, ntp, . Windows .

0

Source: https://habr.com/ru/post/1767920/


All Articles