#include<stdio.h>
#include<conio.h>
#include<windows.h>
void close();
main()
{
char x;
while (1)
{
system("cls");
system("color 0a");
printf("\n\n\t\t\t MY WIFI HOTSPOT");
printf("\n\n\t\tMore info:- www.startingphaseofc.blogspot.com");
printf("\n\n\t\t{ NAME = BINAYA \n\n\t\t PASSWORD = binaygrg2 } ");
printf("\n\n\n\n\t\tPRESS S TO START WIFI HOTSPOT \n\n\t (or PRESS C TO STOP WIFI HOTSPOT IF RUNNING) : - ");
x=getche();
x=toupper(x);
switch(x)
{
case 'S':
system("netsh wlan set hostednetwork mode=allow ssid=BINAYA key=binaygrg2 & cls & netsh wlan start hostednetwork");//you can change ssid and key content with your own.
Sleep(500);
system("cls");
printf("\n\n\t\t\tWIFI HOTSPOT IS STARTED");
Sleep(3000);
system("cls");
close();
break;
case 'C':
system("cls & netsh wlan stop hostednetwork & cls");
printf("\n\n\n\t\t\tMY WIFI HOTSPOT IS STOPPED");
Sleep(3000);
system("cls");
main();
break;
default:
system("cls");
printf("\n\n\n\n\n\t\t\tINVALID KEY IS PRESSED");
getch();
}
}
getch();
}
void close()
{
char x;
while(1)
{
system("cls");
system("color 5a");
printf("\n\n\t\t\t MY WIFI HOTSPOT");
printf("\n\n\t\t\tMY WIFI HOTSPOT IS STARTED \n\n\t\t\t CURRENTLY RUNNING......");
printf("\n\n\t\tMore info:- www.startingphaseofc.blogspot.com");
printf("\n\n\t\t{ NAME = BINAYA \n\n\t\t PASSWORD = binaygrg2 } ");
printf("\n\n\n\t\tPRESS S TO STOP WIFI HOTSPOT : - ");
x=getche();
x=toupper(x);
switch(x)
{
case 'S':
system("cls & netsh wlan stop hostednetwork & cls");
printf("\n\n\n\t\t\tMY WIFI HOTSPOT IS STOPPED");
Sleep(3000);
system("cls");
main();
break;
default:
system("cls");
printf("\n\n\n\n\n\t\t\tINVALID KEY IS PRESSED");
getch();
}
}
}
#include<conio.h>
#include<windows.h>
void close();
main()
{
char x;
while (1)
{
system("cls");
system("color 0a");
printf("\n\n\t\t\t MY WIFI HOTSPOT");
printf("\n\n\t\tMore info:- www.startingphaseofc.blogspot.com");
printf("\n\n\t\t{ NAME = BINAYA \n\n\t\t PASSWORD = binaygrg2 } ");
printf("\n\n\n\n\t\tPRESS S TO START WIFI HOTSPOT \n\n\t (or PRESS C TO STOP WIFI HOTSPOT IF RUNNING) : - ");
x=getche();
x=toupper(x);
switch(x)
{
case 'S':
system("netsh wlan set hostednetwork mode=allow ssid=BINAYA key=binaygrg2 & cls & netsh wlan start hostednetwork");//you can change ssid and key content with your own.
Sleep(500);
system("cls");
printf("\n\n\t\t\tWIFI HOTSPOT IS STARTED");
Sleep(3000);
system("cls");
close();
break;
case 'C':
system("cls & netsh wlan stop hostednetwork & cls");
printf("\n\n\n\t\t\tMY WIFI HOTSPOT IS STOPPED");
Sleep(3000);
system("cls");
main();
break;
default:
system("cls");
printf("\n\n\n\n\n\t\t\tINVALID KEY IS PRESSED");
getch();
}
}
getch();
}
void close()
{
char x;
while(1)
{
system("cls");
system("color 5a");
printf("\n\n\t\t\t MY WIFI HOTSPOT");
printf("\n\n\t\t\tMY WIFI HOTSPOT IS STARTED \n\n\t\t\t CURRENTLY RUNNING......");
printf("\n\n\t\tMore info:- www.startingphaseofc.blogspot.com");
printf("\n\n\t\t{ NAME = BINAYA \n\n\t\t PASSWORD = binaygrg2 } ");
printf("\n\n\n\t\tPRESS S TO STOP WIFI HOTSPOT : - ");
x=getche();
x=toupper(x);
switch(x)
{
case 'S':
system("cls & netsh wlan stop hostednetwork & cls");
printf("\n\n\n\t\t\tMY WIFI HOTSPOT IS STOPPED");
Sleep(3000);
system("cls");
main();
break;
default:
system("cls");
printf("\n\n\n\n\n\t\t\tINVALID KEY IS PRESSED");
getch();
}
}
}
No comments:
Post a Comment