Skip to content

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Windows Hotspot CLI Tool

This is a native C++ project for Windows (built with Visual Studio) that allows you to start or stop a Wi-Fi hotspot using a simple command-line interface.

βœ… Features

  • Start a hotspot with a custom SSID and password
  • Stop the hotspot
  • Native C++ using Windows Runtime (WinRT) APIs

πŸ”§ Build Instructions

⚠️ This project is for Windows only, and must be built with Visual Studio (any recent version that supports C++/WinRT).

  1. Open the .sln file in Visual Studio.
  2. Set the build configuration to x64 and Release (or Debug).
  3. Build the project (Ctrl + Shift + B or via the Build menu).

The output executable (e.g. HotspotManager.exe) will be in x64\Release\ or x64\Debug\.


πŸš€ Usage

Open Command Prompt or PowerShell and go to the folder with HotspotManager.exe.

Start a hotspot

HotspotManager.exe -start <SSID> <PASSWORD>
  • <SSID>: Name of the Wi-Fi network
  • <PASSWORD>: Password (must be 8–63 characters)

Example:

program.exe -start MyNetwork SecurePass123

Stop the hotspot

program.exe -stop

πŸ“ Notes

  • Your Wi-Fi adapter must support tethering.
  • It uses your current internet connection for sharing.

πŸ“œ License

This project is provided as-is for educational and personal use.

About

A basic hot spot manager in cpp

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages