Login Register






Logging into MyBB via c# filter_list
Author
Message
Logging into MyBB via c# #1
[hide]First you'll need to download: http://www.megafileupload.com/1Ewp/Login_To_Mybb.dll
Virus Scan: https://www.virustotal.com/en/file/73f4a...433832142/
[/hide]

Next add it to your c# project

Add 2 textboxes(username/password)

Add a button(login)

Button code:
[hide]
Code:
Login_To_Mybb.MybbLogin Add = new Login_To_Mybb.MybbLogin();            dynamic res = Add.LoginToMybb("realityforum.net/member.php?action=login", textBox1.Text, textBox2.Text);            if (res == 1)            {                MessageBox.Show("Logged in!");                webBrowser1.Navigate("Where to redirect after logged in");            }            else            {                MessageBox.Show("Username/Password wrong try again!");            }        }
[/hide]

If you have any questions feel free to ask below.

Reply

RE: Logging into MyBB via c# #2
Quite an interesting share, thanks, Travis! Smile

Reply

RE: Logging into MyBB via c# #3
(06-09-2015, 07:47 AM)Nath Wrote: Quite an interesting share, thanks, Travis! Smile

This has been around for quite some time honestly Tongue

Reply

RE: Logging into MyBB via c# #4
Nice share. Make sure to use hide tags.

Reply

RE: Logging into MyBB via c# #5
(06-09-2015, 02:28 PM)Ako Wrote: Nice share. Make sure to use hide tags.

Didn't know it had been added.

Reply

RE: Logging into MyBB via c# #6
Thanks for this man! really useful!

Reply

RE: Logging into MyBB via c# #7
VB.NET Code:
[hide]
Code:
Imports System Public Class MyClass Shared Sub Main(ByVal args() As String) Dim Add As Login_To_Mybb.MybbLogin = New Login_To_Mybb.MybbLogin() Dim res As dynamic = Add.LoginToMybb("realityforum.net/member.php?action=login",textBox1.Text,textBox2.Text) If res = 1 Then MessageBox.Show("Logged in!") webBrowser1.Navigate("Where to redirect after logged in") Else MessageBox.Show("Username/Password wrong try again!") End If End Sub End Class
[/hide]
Spoiler:
Spoiler:

Reply

RE: Logging into MyBB via c# #8
(08-02-2015, 08:34 PM)respect Wrote: VB.NET Code:
<div class='content_header_locked'>Content Locked</div><div class='content_locked' style='display: block;'>Post a reply in order to unlock.</div>

VB is way better, imo.
Will try it out, later on :noh:

Reply

RE: Logging into MyBB via c# #9
Looks very easy and simple.

Good share!
[img=0x150]http://imgur.com/BD5LxZb.png[/img]
I'm done being an autism.  

Reply

RE: Logging into MyBB via c# #10
nice . Good Man

Reply