Zachet
Zachet

Reputation: 47

Using VB.NET to query NTP Servers

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!

Upvotes: 1

Views: 6485

Answers (1)

ziesemer
ziesemer

Reputation: 28697

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.

Upvotes: 1

Related Questions