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.
Beispiel #1
0
 public string GenerateSteamGuardCode()
 {
     return(GenerateSteamGuardCodeForTime(TimeAligner.GetSteamTime()));
 }
Beispiel #2
0
        private string _generateConfirmationQueryParams(string tag)
        {
            long time = TimeAligner.GetSteamTime();

            return("p=" + this.DeviceID + "&a=" + this.Session.SteamID.ToString() + "&k=" + _generateConfirmationHashForTime(time, tag) + "&t=" + time + "&m=android&tag=" + tag);
        }