Method TryOpenNativeContent
TryOpenNativeContent(out Stream?)
Opens the payload's native content when it has a single identifiable one.
public bool TryOpenNativeContent(out Stream? content)
Parameters
contentStreamReceives a stream over the native bytes, or null. The caller owns it and must dispose it before disposing this payload.
Returns
- bool
true when native content was found. false for Unrecognized, where the individual streams are still reachable through OpenStream(string).