Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Help] Split Char Login Error webclient idk lol

Featured Replies

Posted

So basically when I put nothing in the username and pass box It works, but when I put wrong shit, It fails.

Does any one know how to fix this login problem for my program?

Login Source Code:

string test = materialSingleLineTextField1.Text + ":" + materialSingleLineTextField2.Text;
            if (new WebClient().DownloadString("--CENSORED--").Contains(test))
                
            {
                MessageBox.Show("Success");
                new Form2().Show();
                base.Hide();
                

            }
            else
            {
                MessageBox.Show("Failed");
                base.Close();

 

Check if the text boxes are empty, if so do not allow it to try and login.

  • Author
53 minutes ago, atom0s said:

Check if the text boxes are empty, if so do not allow it to try and login.

idk man i tried that but it keeps giving me error so i kind of quit and tried asking forum people.

What you are asking is fairly basic level coding for this kind of thing. If you are having issues with that, it sounds like you are not really ready for what you are actually working on.

You can check string lengths via . Length property of a string. Which in your case 'materialSingleLineTextField1.Text' would have the .Length property you can use. You can also use 'string.IsNullOrEmpty' to check if either text boxes string is empty. 

  • Author
13 minutes ago, atom0s said:

What you are asking is fairly basic level coding for this kind of thing. If you are having issues with that, it sounds like you are not really ready for what you are actually working on.

You can check string lengths via . Length property of a string. Which in your case 'materialSingleLineTextField1.Text' would have the .Length property you can use. You can also use 'string.IsNullOrEmpty' to check if either text boxes string is empty. 

thenx but i fixed problemmmmmmmmmm im try8ing to make hwid thing now ok thank you

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.