Method SetMetadata
SetMetadata(byte[])
Replaces the stream content with the specified byte array.
public void SetMetadata(byte[] xml)
Parameters
xmlbyte[]
SetMetadata(string)
Sets the metadata stream.
The begin attribute of the “<?xpacket begin="{BOM}"” header, in double or single quotes, may be empty,
hold the byte order mark U+FEFF, or name the encoding as ToString writes it, such as 'UTF8'.
public void SetMetadata(string xml)
Parameters
xmlstring