Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8017519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:52:07+00:00 2026-06-04T20:52:07+00:00

I have this code: string downloadedString; System.Net.WebClient client; client = new System.Net.WebClient(); downloadedString =

  • 0

I have this code:

string downloadedString;
System.Net.WebClient client;

client = new System.Net.WebClient();

downloadedString = client.DownloadString(
     "http://thebnet.x10.mx/HWID/BaseHWID/AlloweHwids.txt");

It’s a HWID-type security (it will check your HWID to see if you are allowed to use the program)

Anyway, I want to be able to put multiple lines on it at a time, example:

xjh94jsl <-- Not a real HWID
t92jfgds <-- Also not real

And be able to read each line, one by one, and update it to downloadedString.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:52:09+00:00Added an answer on June 4, 2026 at 8:52 pm

    Don’t download the url as a string, read it as a stream.

    using System.IO;
    using System.Net;
    
    var url ="http://thebnet.x10.mx/HWID/BaseHWID/AlloweHwids.txt";
    var client = new WebClient();
    using (var stream = client.OpenRead(url))
    using (var reader = new StreamReader(stream))
    {
        string line;
        while ((line = reader.ReadLine()) != null)
        {
            // do stuff
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code.. String you = buf.readLine(); Log.d(STRING, ikaw); StringTokenizer st = new
I have this code: string s = آ; StreamWriter writer = new StreamWriter(a.txt, false,
I have this code: string conStr = @server=ORACLE1001;database=Test;uid=admin;pwd=1234; mycon = new OleDbConnection(); mycon.ConnectionString =
I have this code: Dim pathString As String = HttpContext.Current.Request.MapPath(Banking.mdb) Dim odbconBanking As New
I have this code List<string> IDs = new List<string>(); XDocument doc = XDocument.Parse(xmlFile); var
I have this code : /*string theXml = @<Response xmlns=http://myvalue.com><Result xmlns:a=http://schemas.datacontract.org/2004/07/My.Namespace xmlns:i=http://www.w3.org/2001/XMLSchema-instance><a:TheBool>true</a:TheBool><a:TheId>1</a:TheId></Result></Response>;*/ string theXml
I have this code : string m_strFilePath = http://www.google.com/ig/api?weather=12414&hl=it; XmlDocument myXmlDocument = new XmlDocument();
I have this code : String check=SELECT COUNT(*) as check FROM recordstudent WHERE STUDENT_ID=+T_STUDENT_ID+
Suppose I have this code: String encoding = UTF-16; String text = [Hello StackOverflow];
So i have this code: foreach (string xmlfilelisted in xmlFileList) { resultXml.Root.Add(XDocument.Load(xmlfilelisted).Root.Elements()); resultXml.Save(filepath); }

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.