mirror of
https://github.com/Devolutions/IronRDP.git
synced 2026-11-23 08:25:56 +00:00
3efa3b6b03
- 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>
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
dotnetis also a requirement that you will need to install on your own.
- For .NET, note that
-
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.ConnectExampledotnet run --project Devolutions.IronRdp.AvaloniaExample