winforms icon indicating copy to clipboard operation
winforms copied to clipboard

Validate and test Clipboard JSON and raw data scenarios

Open JeremyKuhne opened this issue 11 months ago • 0 comments

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 and BinaryFormatter

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

JeremyKuhne avatar Feb 11 '25 19:02 JeremyKuhne