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!

HttpCachePolicy.SetEtagFromFileDependencies

Sets the Etag header.

[Visual Basic]
Public Sub SetEtagFromFileDependencies()
[C#]
public void SetEtagFromFileDependencies();
[C++]
public: void SetEtagFromFileDependencies();
[JScript]
public function SetEtagFromFileDependencies();

Remarks

The [RB30] ETag: header is set based on the following algorithm: compute all files upon which the handler is dependent and retrieve their last modified timestamps. Combine all filenames using their full paths and all timestamps into a single string, which is hashed into a single digest that is used as the ETag[RB31] .

See Also

HttpCachePolicy Class | HttpCachePolicy Members | System.Web Namespace