How techzy-programmer/spyied works
Key Components to Include in the System Design:
Controller Application (C# WPF Application)
• Main Components:
• UI Layer (Views)
• ViewModels (MVVM Pattern)
• Services Layer
• Models
• Helpers
Payload Application (Go-based Client)
• Main Components:
• Network Communications
• Activity Monitoring
• Screen Capture Service
• System Information Collection
High-Level Architecture
• Controller | <----> | Payload |
• (C# WPF App) | | (Go Client) |
Controller Details
• Controller (WPF)
• Views |
• Dashboard | |
• ScreenShare | |
• Settings | |
• ViewModels (MVVM) |
• Corresponding | |
• ViewModels | |
• Services |
• TCP Service | |
• UDP Service | |
• Page Service | |
Payload Details
Structure the Payload component:
• Payload (Go Client)
• Activities |
• Network | |
• Screen Stream | |
• Update | |
• Network |
• TCP Client | |
• UDP Client | |
• Services |
• Screen Service | |
Communication Flows
• TCP communication between Controller and Payload
• UDP communication for screen sharing
• Data flow between internal components
• Blue: UI Components
• Green: Network Services
• Yellow: Business Logic/Services
• Gray: Helper/Utility Components
Important Elements to Highlight:
Dual Communication Protocols
• TCP for reliable command and control
• UDP for screen sharing (likely chosen for performance)
MVVM Architecture in Controller
• Clear separation of Views, ViewModels, and Models
• Service layer for business logic
Modular Structure in Payload
• Activity-based organization
• Separate network handling
• Dedicated screen capture service
Additional Considerations: