C# MessageBox API S...
 
Notifications
Clear all

C# MessageBox API Selector Lib Include SourceCode

Page 1 / 2

KranK
Posts: 336
Topic starter
(@KranK)
Reputable Member
Joined: 10 years ago

Hey guys !
here is another little release, i have made this not long ago for personal use but figured why not to share
the main goal of this is to save space on the tool and just by using one simple connect button calling little message box with API buttons !

[HIDE]how to use :
add APIMessageBox.dll as reference in your project

include this using

	using API_Message_Box;
	

now you need one button, past this code inside it

	string result = APIMessageBox.ShowBox("","");
	
	            try
	            {
	                if (result.Equals("CCAPI"))
	                {
	                    PS3.ChangeAPI(SelectAPI.ControlConsole);
	
	                    if (PS3.GetCurrentAPI() == SelectAPI.ControlConsole)
	                    {
	                        if (PS3.ConnectTarget())
	                        {
	                            if (PS3.AttachProcess())
	                            {
	                                MessageBox.Show("Attached To PS3 Using Control Console API");
	                            }
	                        }
	
	                    }
	
	                }
	
	                else if (result.Equals("TMAPI"))
	                {
	                    PS3.ChangeAPI(SelectAPI.TargetManager);
	
	                    if (PS3.GetCurrentAPI() == SelectAPI.TargetManager)
	                    {
	                        if (PS3.ConnectTarget())
	                        {
	                            if (PS3.AttachProcess())
	                            {
	                                MessageBox.Show("Attached To PS3 Using Target Manager API");
	                            }
	                            else
	                            {
	                                MessageBox.Show("Cannot Attach To PS3, Check PS3 Debug Settings ");
	                            }
	
	                        }
	                        else
	                        {
	                            MessageBox.Show("Cannot connect To PS3, Check ip in Target Manager");
	                        }
	
	                    }
	
	                }
	            }
	            catch
	            {
	                MessageBox.Show("There was an error communicating with PS3, Check ip in Control Console Manager");
	            }
	
	

DOWNLOAD APIMessageBox.dll
DOWNLOAD SourceCode[/HIDE]

Reply
Name of the Video Game, and any other Tags
7 Replies
Cyb3r
Posts: 1598
(@cyb3r)
Noble Member
Joined: 10 years ago

Nice KranK keep it up. :p

Reply
Sw3Rve-X
Posts: 320
(@Sw3Rve-X)
Reputable Member
Joined: 9 years ago

Nice release mah ninja

Reply
Pianist Prodigy
Posts: 39
(@Pianist Prodigy)
Eminent Member
Joined: 9 years ago
Reply
KiLLerBoy_001
Posts: 25
(@KiLLerBoy_001)
Eminent Member
Joined: 9 years ago

my choice would still be 2 radio buttons but yeah this is nice

Reply
Page 1 / 2