Metadata Constructor (Stream)
Initializes a new instance of the Metadata class.

Namespace: GroupDocs.Metadata
Assembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 20.9
Syntax
public Metadata(
	Stream document
)

Parameters

document
Type: System.IOStream
A stream that contains the document to load.
Remarks
Examples
This example demonstrates how to load a file from a stream.
C#
using (Stream stream = File.Open(Constants.InputDoc, FileMode.Open, FileAccess.ReadWrite))
using (Metadata metadata = new Metadata(stream))
{
   // Extract, edit or remove metadata here
}
See Also