WebHeaderCollection.ToByteArray Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Converts the WebHeaderCollection to a byte array..

Namespace:   System.Net
Assembly:  System (in System.dll)

public byte[] ToByteArray()

Return Value

Type: System.Byte[]

A Byte array holding the header collection.

.NET Framework
Available since 1.1
Return to top