Example #1
0
 public async Task SendSettingsToCloud(string gameId, string pathToSettingsFile)
 {
     var hid       = _hidGenerator.GetHid();
     var fileName  = _fileHandler.GetFileName(pathToSettingsFile);
     var fileBytes = _fileHandler.GetFileBytes(pathToSettingsFile);
     await _crowdsourcingService.Upload(hid, gameId, fileName, fileBytes);
 }