WebHeaderCollection.AddInternal method

Adds a new header with the specified name and value to the collection, bypassing checks.

internal void AddInternal(string name, string value)

Warning

This method is internal and is not meant to be used directly in your code.

Microsoft does not support the use of this method in a production application under any circumstance.

Parameters

  • name String

    The name of the header.

  • value String

    The value of the header.

Requirements

Namespace: System.Net

Assembly: System (in System.dll)