Description
The new write as JSON APIs should be visible to all Clipboard/DataObject API callers (existing or new API).
- In or out of process
- With copy = true or not
- Legacy platforms with type access to
System.Text.Json
andBinaryFormatter
We should also be able to retrieve raw data
- Need full tests documenting legacy
MemoryStream
behavior to ensure the following points are sensible - Asking for
<MemoryStream>
in new typed APIs should always give back the raw stream for HGLOBAL - Asking for
<SerializationRecord>
should NRBF decode HGLOBAL data