Hello. I'm looking for information on to add / change wireless settings like SSID, Passphrase, and decrypt keys through C# .NET... is this possible? The reason i'm asking is because i'm developing an simple application which can change specific network parameters like IP, DNS, etc. and i need to be able to add / change wireless connections too.
Soren Alsbjerg Horup
Posts
-
Add/Change wireless settings through C# -
Make windows go standby?Hi. How do I force Windows to go standby using the .net framework in C# ? also How do I force Windows to shutdown ? thanks :)
-
WinSOCK bind function.Well, thats not an option, since I'm using it on a LAN.
-
WinSOCK bind function.I'm trying to create a server which accepts client connections. .... Address.sin_family = AF_INET; Address.sin_port = htons(1212); Address.sin_addr.s_addr = htonl(INADDR_ANY); IntReturn = bind(Listen, (struct sockaddr *) &Address, sizeof(Address)); IntReturn = listen(Listen, 10); IntReturn = sizeof(RemoteAddress); Client[Computer].ClientSocket=accept(Listen, (struct sockaddr *) &RemoteAddress, &IntReturn); ... Clients from any! ip can connect to my server on port 1212.. My server should not accept connections from any ip, so how do I get my server to only accept connections from example 10.0.0.105 ? I thought about changing this line Address.sin_addr.s_addr = htonl(INADDR_ANY); to Address.sin_addr.s_addr = inet_addr("10.0.0.105"); but this does not work, am I doing something wrong? Thanks
-
Prevent ALT F4Hi, is there anyway to prevent the ALT F4? so my window can't be shutdown like that? If not, is there anyway to "hide" my window from the list of windows which pops op when won presses ALT-TAB. Thanks for any help.
-
CreateProcess( );Ok I see. But I need a function that returns the path of the file. Like 'd:\games\quake 3\quake3.exe' will return 'd:\games\quake 3\' Any function that does this? thanks.
-
CreateProcess( );yeah, But if I have a string like: "d:\games\quake3\quake3.exe" and want to set the currentdir like: SetCurrentDirectory("d:\games\quake3\quake3.exe") I need to remove the quake3.exe but how?.
-
CreateProcess( );I'm trying to get my App to luanch a program, like Quake 3. using CreateProcess(); I got two problems.. One is that Quake 3 looks for a default.cfg in the Defualt dir, but my program changes the defualt dir to the path to my program, so Quake 3 thinks that the default.cfg file is located where my program is located, but it is not. the second problem is that I can't include consol commands.. like "d:\games\half-life\hl.exe -game cstrike" This won't work.. code: CreateProcess( NULL,Game[0].Path,NULL,NULL,FALSE,0,NULL,NULL,&si,&pi ); Any solution to these two problems? Thanks
-
ListBox??if (m_Games.GetText(m_Games.GetCurSel()) == "Tribes") { //Do somthing } Only one error left :) error: Error C2661: 'GetText' : no overloaded function takes 1 parameters Whats an overloaded function?? I got lots to learn :) Ps. Am glad you help's me with this one :)