ResetHeaders Method
Resets all HTTP headers, cookies, and localfile.
Syntax
[VB.NET] Public Sub ResetHeaders()
[C#] public void ResetHeaders();
Remarks
Resets all the HTTP headers as well as LocalFile to "" (empty string). Use this method before creating a new request, so that headers from the previous message are not carried over to the next one.
NOTE: This method has a corresponding asynchronous version (ResetHeadersAsync) for use in the WinRT environment.