Pergunta

As the title describes I am looking for a way to query for the UTC time from NTP/SNTP Servers from 'VB.NET'. The only libraries I have found for VB.NET to such tasks appear require a fairly large sum of different forms of currency.

Any suggestions, comments, methods, or links?

Thanks!

Foi útil?

Solução

See How to Query an NTP Server using C#? . Not marking as a duplicate, as the solution linked to is in C#, and you asked for VB.NET. However, this can be compiled into a library, and still used within a VB.NET project - since everything compiles to MSIL anyway.

Otherwise, as shown in the linked examples, the implementations for NTP/SNTP are simple enough that implementations could easily be re-created from spec in VB.net with hopefully reasonable amounts of code.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top