public async void StartUpload() { var uploadResponse = await UploadOperation; ResponseParser.UploadResponse response = await ResponseParser.ParseUploadResponseAsync(uploadResponse.Content); SecureId = response.SecureId; Token = response.Token; Expiration = response.Expiration; }
public void EditInfo(string newToken, FileExpiration newExpiration) { Token = newToken; Expiration = newExpiration; }