Assembly: System.Web (in system.web.dll)
'Declaration Public Sub SaveAs ( _ filename As String, _ includeHeaders As Boolean _ ) 'Usage Dim instance As HttpRequest Dim filename As String Dim includeHeaders As Boolean instance.SaveAs(filename, includeHeaders)
The physical drive path.
A Boolean value specifying whether an HTTP header should be saved to disk.
The following code example calls the SaveAs method when a page is loaded. The call specifies that the request be saved as a text file in a directory where the ASP.NET process identity has been granted write permissions, and that any header information included in the request is included in the file.