Socket gửi nhận dotnet

Bởi admin

Console.WriteLine(“Hello, World!”);const int PORT = 5000;TcpListener server = new TcpListener(IPAddress.Any, PORT);server.Start();Console.WriteLine($”Server đang chạy tại port {PORT}…”);Console.WriteLine(“Đang chờ client kết nối…”);while (true) {// 3. Chờ client kết nốiTcpClient client = await server.AcceptTcpClientAsync();Console.WriteLine(“Client đã kết nối!”);// 4.…

Tự động kết nối wifi qua TTLS của Windows

Bởi admin

https://giamkichsan.com/uploads/document/0f5103f4-6cf4-4bb0-822f-8626ad26d325/20c82cd1-a475-41c0-ba6c-fd194108fcce.zip A. Kiểm tra 1. Lấy XML profile TTLS do chính Windows tạo ra Có 2 cách lấy profile mà Windows đang lưu: Microsoft xác nhận WlanGetProfile() trả trực tiếp XML representation của wireless profile;…

Cài Redmine trên Ubuntu + Nginx + MySQL

Bởi admin

í dụ dưới đây dùng: Tài liệu chính thức: Redmine Installation Guide 1. Cập nhật hệ thống 2. Cài package cần thiết 3. Cài Ruby + Bundler Ubuntu 24 đã có Ruby 3.2: Kiểm tra:…

Cài đặt jenkins trên Ubuntu

Bởi admin

Installation of Java Installation of Jenkins Unlocking Jenkins Browse to http://localhost:8080 (or whichever port you configured for Jenkins when installing it) and wait until the Unlock Jenkins page appears.

Cách chạy lệnh cmd trên c#

Bởi admin

Bạn có thể gọi lệnh CMD trong C# bằng cách dùng lớp System.Diagnostics.Process. Dưới đây là các cách phổ biến (từ đơn giản → nâng cao). 1. Chạy 1 lệnh CMD đơn giản (không cần…

IEmailSender trong netcore

Bởi admin

Nó hoạt động theo cơ chế Dependency Injection (DI) và bạn phải tự cài đặt cách gửi email. 👉 Đây là interface, Identity chỉ biết gọi, không biết gửi bằng cách nào. 2. Luồng hoạt…

IUserEmailStore trong netcore

Bởi admin

Nó chỉ lưu trữ & quản lý dữ liệu email của User, không gửi email đi đâu cả ✅ Nó LÀM: ❌ Nó KHÔNG LÀM: 1. IUserEmailStore<TUser> là gì? IUserEmailStore<TUser> là interface dùng để quản…