A Windows desktop application for network monitoring, device management, subnet scanning, and Active Directory synchronization. Built with .NET 8 and WPF.
فارسی | English
- Subnet scanning with device status detection (online/offline/new)
- Device management with type classification
- Active Directory synchronization
- Change log / history of device and network events
- Email alerts (SMTP)
- Telegram alerts (Bot API)
- Dashboard with network overview
- Persian/RTL UI support
- SQLite storage with EF Core
- .NET 8, WPF
- Entity Framework Core 8 + SQLite
- Material Design In XAML Toolkit
- MVVM (CommunityToolkit.Mvvm)
- Windows 10/11
- .NET 8 SDK (build) / .NET 8 Desktop Runtime (run)
git clone https://github.com/m-heidary/NetworkMonitor.git
cd NetworkMonitor
dotnet restore
dotnet build
dotnet run --project NetworkMonitor.UI
The database is created automatically on first run at `%LocalAppData%\NetworkMonitor\`.
To apply migrations manually:
bash
dotnet ef database update --project NetworkMonitor.Data --startup-project NetworkMonitor.UI
## Configuration
Configure alerting and AD sync from the **Settings** page:
- **Email**: SMTP host, port, credentials, SSL, recipients
- **Telegram**: Bot token, chat ID
- **Active Directory**: Domain/LDAP path, service account credentials
## License
MIT — see [LICENSE](LICENSE).
## `README.fa.md`
```markdown
# NetworkMonitor



یک برنامه دسکتاپ ویندوز برای مانیتورینگ شبکه، مدیریت دستگاهها، اسکن سابنت و همگامسازی با Active Directory. ساختهشده با .NET 8 و WPF.
English | [فارسی](README.fa.md)
## قابلیتها
- اسکن سابنت با تشخیص وضعیت دستگاه (آنلاین/آفلاین/جدید)
- مدیریت دستگاهها با دستهبندی نوع
- همگامسازی با Active Directory
- تاریخچه تغییرات دستگاهها و رویدادهای شبکه
- هشدار ایمیل (SMTP)
- هشدار تلگرام (Bot API)
- داشبورد با نمای کلی شبکه
- پشتیبانی از رابط کاربری فارسی/راستبهچپ
- ذخیرهسازی با SQLite و EF Core
## تکنولوژیها
- .NET 8, WPF
- Entity Framework Core 8 + SQLite
- Material Design In XAML Toolkit
- MVVM (CommunityToolkit.Mvvm)
## پیشنیازها
- ویندوز 10/11
- .NET 8 SDK (برای بیلد) / .NET 8 Desktop Runtime (برای اجرا)
## شروع کار
```bash
git clone https://github.com/m-heidary/NetworkMonitor.git
cd NetworkMonitor
dotnet restore
dotnet build
dotnet run --project NetworkMonitor.UI
دیتابیس در اولین اجرا بهصورت خودکار در مسیر `%LocalAppData%\NetworkMonitor\` ساخته میشود.
برای اعمال دستی migrationها:
bash
dotnet ef database update --project NetworkMonitor.Data --startup-project NetworkMonitor.UI
## پیکربندی
تنظیمات هشدار و همگامسازی AD از صفحه **Settings** انجام میشود:
- **ایمیل**: هاست SMTP، پورت، اطلاعات ورود، SSL، گیرندگان
- **تلگرام**: توکن ربات، شناسه چت
- **Active Directory**: مسیر دامنه/LDAP، اطلاعات حساب سرویس
## لایسنس
MIT — فایل [LICENSE](LICENSE) را ببینید.
## `LICENSE`
MIT License
Copyright (c) 2026 [Mohsen Heidargholipour]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.