NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpWebRequest.KeepAlive

Gets or sets the value of the Keep-Alive header.

[Visual Basic]
Public Property KeepAlive As Boolean
[C#]
public bool KeepAlive {get; set;}
[C++]
public: __property bool get_KeepAlive();
public: __property void set_KeepAlive(bool);
[JScript]
public function get KeepAlive() : Boolean;
public function set KeepAlive(Boolean);

Remarks

The application uses KeepAlive to indicate its preference for persistant connections. When System.Net.KeepAlive is true, a persistant connection will be made to the servers that support persistant connections.

See Also

HttpWebRequest Class | HttpWebRequest Members | System.Net Namespace