Je crée une requête HttpWebRequest et la stocke dans un objet HttpState. Lorsque je vais définir la propriété AllowWriteStreamBuffering de la demande sur false, je vois qu'aucune telle propriété n'existe. La contrepartie de téléchargement, AllowReadStreamBuffering, est disponible.Windows Phone 7 Téléchargement HTTP, aucune propriété AllowWriteStreamBuffering disponible
HttpState httpState = new HttpState();
httpState.request = (HttpWebRequest)HttpWebRequest.Create(this.remotepath);
//this compiles
httpState.request.AllowReadStreamBuffering = false;
//this doesn't compile
httpState.request.AllowWriteStreamBuffering = false;
Est-ce que je fais quelque chose de mal ici? Ou est-il vraiment impossible de spécifier la propriété de mise en mémoire tampon pour WriteStream dans Windows Phone 7?
Eh bien, vous comprenez comment WP7 est encore à ses balbutiements. –