Skip to content

CodeBees/hotspot-windows

 
 

Repository files navigation

hotspot-windows

Turn your Windows PC into a WiFi Hotspot with C!

tested

Windows 7, Windows 10 x64 and x86

#example

me.c file run as administrator!

#include <stdio.h>
#include <stdlib.h>
#include <Windows.h>
#include "icservice.h"
#include "wlanhost.h"

extern WCHAR *adapter_id;

int main(int argc, char** argv)
{
	printf("Starting WiFi Hotspot..\n");
	start_wifi_hotspot("TITAN_WORLD", "im_a_titan");

	Sleep(1500);

	printf("Share connection...\n");

	share_connection(adapter_id);

	printf("Press any key to stop Wifi Hotspot\n");
	getchar();

	stop_wifi_hotspot();

	printf("bye\n");

	return EXIT_SUCCESS;
}

contact

0xdr@protonmail.ch

Dr. R

About

Turn your Windows PC into a WiFi Hotspot with C!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%