Table of Contents

Property EmbeddedFileName

Namespace
DocWright.Ole
Assembly
DocWright.Ole.dll

EmbeddedFileName

Gets the file name the payload had when it was embedded, or null. Only a PackagedFile records one.

public string? EmbeddedFileName { get; }

Property Value

string

Remarks

This is untrusted text copied out of the document. It frequently contains a full original path, and a hostile document can put anything here — treat it as a display label, and never as a path to write to without sanitizing it yourself.