Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ffi): initial C# bindings (connector only) #423

Merged
merged 47 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
16ff283
WIP: halfway through connectors
irvingoujAtDevolution Mar 22, 2024
55ebdf4
WIP: connector finished, untested
irvingoujAtDevolution Mar 25, 2024
70f06fc
WIP:Connector connects
irvingoujAtDevolution Mar 25, 2024
549b5d7
CI
irvingoujAtDevolution Mar 25, 2024
5360b58
CI:typos
irvingoujAtDevolution Mar 25, 2024
5e65247
Review fix: CI,add xtask,address review comments
irvingoujAtDevolution Mar 26, 2024
798758a
CI:fmt
irvingoujAtDevolution Mar 26, 2024
a836024
CI
irvingoujAtDevolution Mar 26, 2024
f55ec36
CI
irvingoujAtDevolution Mar 26, 2024
e978f7f
WIP:review fix,expose sens-io instead
irvingoujAtDevolution Mar 27, 2024
8f9f458
WIP:Trying to get core protocol work with C# stream
irvingoujAtDevolution Mar 28, 2024
c016f36
WIP:Trying to get core protocol work with C# stream
irvingoujAtDevolution Mar 28, 2024
69079e4
WIP:trying to fix asn1 encoding issue
irvingoujAtDevolution Mar 28, 2024
b488061
WIP:fixed credssp, now fixing panic on pdu
irvingoujAtDevolution Apr 1, 2024
4cda2ad
WIP: connector works!
irvingoujAtDevolution Apr 1, 2024
f9d76bf
WIP: house keeping
irvingoujAtDevolution Apr 1, 2024
a6b89fe
WIP:House keeping
irvingoujAtDevolution Apr 1, 2024
fadee45
CI:fmt
irvingoujAtDevolution Apr 1, 2024
7d1d06f
CI:typos
irvingoujAtDevolution Apr 1, 2024
3dffd36
Housekeeping: remove unused code
irvingoujAtDevolution Apr 1, 2024
8a4f832
Housekeeping: rebuild ffi
irvingoujAtDevolution Apr 1, 2024
cf9a701
add git attribute
irvingoujAtDevolution Apr 1, 2024
25cc571
Review fix: update legal_copy right date
irvingoujAtDevolution Apr 1, 2024
4f8ce4a
CI: xtask check
irvingoujAtDevolution Apr 1, 2024
6677c54
CI, fmt
irvingoujAtDevolution Apr 1, 2024
2d8b849
update exmaple so it takes commandline args
irvingoujAtDevolution Apr 1, 2024
0614f70
CI, try to fix
irvingoujAtDevolution Apr 1, 2024
da409ce
Merge branch 'master' into create-ffi-bindings
irvingoujAtDevolution Apr 1, 2024
0672182
Merge master, fix CI
irvingoujAtDevolution Apr 1, 2024
832651a
Update ffi/Cargo.toml
irvingoujAtDevolution Apr 2, 2024
9b37343
Review fixes
irvingoujAtDevolution Apr 2, 2024
b0cbf68
Merge branch 'create-ffi-bindings' of github.com:Devolutions/IronRDP …
irvingoujAtDevolution Apr 2, 2024
5471ff7
removed unnecessary files
irvingoujAtDevolution Apr 2, 2024
629f374
Review fix
irvingoujAtDevolution Apr 3, 2024
c55935d
Update ffi/dotnet/Devolutions.IronRdp.ConnectExample/Program.cs
CBenoit Apr 5, 2024
59a0df7
Review fix:checkout Cargo.lock from master
irvingoujAtDevolution Apr 5, 2024
5c8d54f
Merge branch 'create-ffi-bindings' of github.com:Devolutions/IronRDP …
irvingoujAtDevolution Apr 5, 2024
e08d96b
Update ffi/src/connector/config.rs
irvingoujAtDevolution Apr 5, 2024
948bebe
Update ffi/src/connector/mod.rs
irvingoujAtDevolution Apr 5, 2024
8883a75
Update ffi/src/lib.rs
irvingoujAtDevolution Apr 5, 2024
7e7ca57
Update ffi/src/connector/mod.rs
irvingoujAtDevolution Apr 5, 2024
e08d2db
Review fix:for C#
irvingoujAtDevolution Apr 5, 2024
e8fdf92
CI:fmt
irvingoujAtDevolution Apr 5, 2024
1cc7c8b
Review fix
irvingoujAtDevolution Apr 5, 2024
6c09040
CI:typo fix
irvingoujAtDevolution Apr 5, 2024
99fefd9
Update ffi/dotnet/Devolutions.IronRdp/src/Framed.cs
CBenoit Apr 5, 2024
50be259
Update ffi/dotnet/Devolutions.IronRdp/src/Framed.cs
CBenoit Apr 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
172 changes: 164 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
members = [
"crates/*",
"xtask",
"ffi",
]
resolver = "2"

Expand Down
33 changes: 33 additions & 0 deletions ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[package]
name = "ffi"
version = "0.1.0"
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
authors.workspace = true
keywords.workspace = true
categories.workspace = true

[lib]
name = "ironrdp"
crate-type = ["staticlib", "cdylib"]
doc = false
test = false
doctest = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
irvingoujAtDevolution marked this conversation as resolved.
Show resolved Hide resolved
[dependencies]
anyhow = "1.0.81"
diplomat = "0.7.0"
diplomat-runtime = "0.7.0"
ironrdp = { workspace = true, features = ["connector", "dvc", "svc","rdpdr","rdpsnd"] }
ironrdp-blocking = { path = "../crates/ironrdp-blocking" }
rustls = "0.21"
x509-cert = { version = "0.2", default-features = false, features = ["std"] }
sspi = { workspace = true, features = ["network_client"] }
thiserror.workspace = true
tracing.workspace = true

[target.'cfg(windows)'.build-dependencies]
embed-resource = "2.2.0"
Loading
Loading