HttpWebRequest.cs 797 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // System.Net.HttpWebRequest
  3. //
  4. // Author:
  5. // Lawrence Pit ([email protected])
  6. //
  7. using System;
  8. using System.Collections;
  9. using System.IO;
  10. using System.Runtime.Serialization;
  11. namespace System.Net
  12. {
  13. [Serializable]
  14. public class HttpWebRequest : WebRequest, ISerializable
  15. {
  16. private Uri uri;
  17. // Constructors
  18. internal HttpWebRequest (Uri uri)
  19. {
  20. this.uri = uri;
  21. }
  22. protected HttpWebRequest (SerializationInfo serializationInfo, StreamingContext streamingContext)
  23. {
  24. throw new NotSupportedException ();
  25. }
  26. // Properties
  27. // Methods
  28. void ISerializable.GetObjectData (SerializationInfo serializationInfo,
  29. StreamingContext streamingContext)
  30. {
  31. throw new NotSupportedException ();
  32. }
  33. }
  34. }