C# Class SteamAuth.TimeAligner

Class to help align system time with the Steam server time. Not super advanced; probably not taking some things into account that it should. Necessary to generate up-to-date codes. In general, this will have an error of less than a second, assuming Steam is operational.
Afficher le fichier Open project: geel9/SteamAuth Class Usage Examples

Méthodes publiques

Méthode Description
AlignTime ( ) : void
AlignTimeAsync ( ) : System.Threading.Tasks.Task
GetSteamTime ( ) : long
GetSteamTimeAsync ( ) : Task

Method Details

AlignTime() public static méthode

public static AlignTime ( ) : void
Résultat void

AlignTimeAsync() public static méthode

public static AlignTimeAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

GetSteamTime() public static méthode

public static GetSteamTime ( ) : long
Résultat long

GetSteamTimeAsync() public static méthode

public static GetSteamTimeAsync ( ) : Task
Résultat Task