InternetTime Class

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Class for getting the current time from the Internet.

This class uses the TIME protocol to get the current time from nist1-macon.macon.ga.us.

Inheritance Hierarchy

SystemObject
  RageInternetTime

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static class InternetTime

The InternetTime type exposes the following members.

Properties

  NameDescription
Public propertyStatic memberCanAccess

Gets a value indicating whether the time can be retrieved right now.

The time server can only be accessed once every five seconds. If less than five seconds have passed since the last call to GetCurrentDateTime(), this property will return false.

Public propertyStatic memberLastTime
Gets the last time retrieved from the server.
Public propertyStatic memberTimeSinceLastAccess
Gets the time elapsed since the time was last retrieved from the server.
Top
Methods

  NameDescription
Public methodStatic memberGetCurrentDateTime
Gets the current date and time from the internet.
Top
See Also

Reference