Skip to content

Commit 692a85b

Browse files
refactor: move desktop client to top-level desktop/ directory
Separates the full WPF reference app from small code snippets in examples/. desktop/ signals this is a complete application, not a snippet.
1 parent 49c0372 commit 692a85b

16 files changed

Lines changed: 14 additions & 2 deletions

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,18 @@ csharp-sdk/
188188
├── tests/
189189
│ └── Sentinel.SDK.Tests/ # 814+ tests across 33 test classes
190190
191+
├── desktop/
192+
│ └── HandshakeDVPN/ # Full WPF desktop client (5,980 lines)
193+
│ ├── App.xaml Theme system — colors, fonts, styles
194+
│ ├── MainWindow.xaml UI layout — sidebar, orb, status bar
195+
│ ├── MainWindow.xaml.cs App logic — state machine, events, polling
196+
│ └── Services/ SDK integration layer
197+
198+
├── examples/ # Small code snippets
199+
│ ├── QueryNodes/ List active nodes
200+
│ ├── WalletBasics/ Create/import wallet
201+
│ └── ConnectDirect/ Connect to a specific node
202+
191203
└── docs/
192204
├── QUICK-START.md Get running in under 50 lines
193205
├── API-REFERENCE.md Complete public API catalog
@@ -196,7 +208,7 @@ csharp-sdk/
196208

197209
## Example: Full WPF Desktop Client
198210

199-
The [`examples/HandshakeDVPN/`](examples/HandshakeDVPN/) directory contains a complete, runnable dVPN desktop application built with WPF and .NET 8. Use it as a reference for building your own Windows desktop VPN client.
211+
The [`desktop/HandshakeDVPN/`](desktop/HandshakeDVPN/) directory contains a complete, runnable dVPN desktop application built with WPF and .NET 8. Use it as a reference for building your own Windows desktop VPN client.
200212

201213
**What's included (5,980 lines across 7 files):**
202214

@@ -212,7 +224,7 @@ The [`examples/HandshakeDVPN/`](examples/HandshakeDVPN/) directory contains a co
212224

213225
**Features:** node browser with search/filter, animated connection orb, per-GB and per-hour pricing, real-time speed display, built-in node tester with export, Handshake DNS integration, wallet management (create/import/send), session tracking.
214226

215-
See the [example README](examples/HandshakeDVPN/README.md) for the full architecture guide, UI structure, and code-behind patterns.
227+
See the [desktop client README](desktop/HandshakeDVPN/README.md) for the full architecture guide, UI structure, and code-behind patterns.
216228

217229
## Error Handling
218230

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)