How to add upload request property in background Transfer for windows phone 8?

84 views Asked by At

I am trying to upload audio file using background transfer method in windows phone 8. I have to add upload request property for uploading the file to the server successfully. Is it possible using "Tag" or "Headers" property of the background transfer request??

1

There are 1 answers

4
Chubosaurus Software On

You can set the Headers in the

`BackgroundTransferRequest.Headers Property`

It is basically a Dictionary<string, string>

So you can .Add(key, value) to it

MSDN Link


Be careful, it looks like there are some header keys that are reserved.