Files
Marc-André Moreau 3efa3b6b03 Integrate bulk compression into IronRDP client
- Add --compression CLI argument (rdp4/rdp5/rdp6/rdp61) to ironrdp-client
- Add compression_type field to connector::Config and ConnectionResult
- Set INFO_COMPRESSION flag and compression type in Client Info PDU
- Add ironrdp-bulk dependency to ironrdp-session
- Integrate BulkCompressor into FastPath processor for server-to-client
  decompression with per-PDU compression flag handling
- Add compression metrics (total_compressed_bytes, total_uncompressed_bytes,
  compression_ratio) to BulkCompressor, mirroring FreeRDP's rdpMetrics
- Add tracing logs at negotiation, initialization, and per-PDU decompression
- Replace .expect() calls with non-panicking patterns in xcrush
- Add bounds safety to compressed_data() in bulk.rs
- Fix cargo fmt across all crates
- Update all call sites (ffi, web, testsuite, examples) for new fields

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 14:40:54 -05:00
..

IronRDP FFI

Diplomat-based FFI for IronRDP.

Currently, only the .NET target is officially supported.

How to build

  • Install required tools: cargo xtask ffi install

    • For .NET, note that dotnet is also a requirement that you will need to install on your own.
  • Build the shared library: cargo xtask ffi build (alternatively, in release mode: cargo xtask ffi build --release)

  • Build the bindings: cargo xtask ffi bindings

At this point, you may build and run the examples for .NET:

  • dotnet run --project Devolutions.IronRdp.ConnectExample
  • dotnet run --project Devolutions.IronRdp.AvaloniaExample