2 // System.Net.HttpWebResponse
\r
5 // Lawrence Pit (loz@cable.a2000.nl)
\r
10 using System.Runtime.Serialization;
\r
12 namespace System.Net
\r
15 public class HttpWebResponse : WebResponse, ISerializable, IDisposable
\r
18 private WebHeaderCollection webHeaders;
\r
22 protected HttpWebResponse (Uri uri)
\r
27 protected HttpWebResponse (SerializationInfo serializationInfo, StreamingContext streamingContext)
\r
29 throw new NotSupportedException ();
\r
34 public override long ContentLength {
\r
35 get { throw new NotSupportedException (); }
\r
36 set { throw new NotSupportedException (); }
\r
39 public override string ContentType {
\r
40 get { throw new NotSupportedException (); }
\r
41 set { throw new NotSupportedException (); }
\r
44 public override WebHeaderCollection Headers {
\r
45 get { return webHeaders; }
\r
48 public override Uri ResponseUri {
\r
54 public override void Close()
\r
56 throw new NotSupportedException ();
\r
59 public override Stream GetResponseStream()
\r
61 throw new NotSupportedException ();
\r
64 void IDisposable.Dispose()
\r
69 void ISerializable.GetObjectData (SerializationInfo serializationInfo,
\r
70 StreamingContext streamingContext)
\r
72 throw new NotSupportedException ();
\r