Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
GETのメソッドを使用してRESTfulサービスを呼び出しているときにヘッダー値を追加するにはどうすればよいSilverlightですか?
GET
Silverlight
ClientHttp 経由で HttpWebRequest を作成できます。
var url = new Uri("your url"); var request = (HttpWebRequest)WebRequestCreator.ClientHttp.Create(url); request.Headers[HttpRequestHeader.Pragma] = "no-cache"; request.Method = "GET";