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

  • SEARCH
  • Home
  • 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 7746183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:12:50+00:00 2026-06-01T10:12:50+00:00

There is a desktop browser called ‘ 360 secure browser ‘. They have a

  • 0

There is a desktop browser called ‘360 secure browser‘. They have a fairly large share of the market in China, and we are required to support them.

It says the layout engine is Trident (IE), which is what I expected, but I can’t verify that right now (on a mac!).

The reason for this is that I have some forms that kick off a download, streaming bytes to the client, and they work in the other major browsers. The code that causes the issue is below, or similar. Is this doing something wrong that I don’t notice? The byte streams are usually on the order of 50-100KB, and we haven’t had issues with it yet.

  • This code is called in response to a PostBack event (eg, button click in a grid, etc)
  • This function is called with bytestreams from files, generated in memory, or read from db.

The function:

public static bool DownloadStream(byte[] packageStream, string fileName) {
    var response = HttpContext.Current.Response;
    response.Clear();
    response.AddHeader("Accept-Ranges", "bytes");
    response.AddHeader("Content-Disposition", "inline; filename=" + HttpUtility.UrlEncode(fileName, Encoding.UTF8));
    response.AddHeader("Content-Length", packageStream.Length.ToString());
    response.ContentType = "application/xlsx";
    response.BinaryWrite(packageStream);
    response.Flush();
    HttpContext.Current.ApplicationInstance.CompleteRequest();
    return true;
}

Does anyone have any experience supporting this browser? I can’t find any information on it when searching in english on google. No specs, no docs, nothing. I have to go to Baidu to find info, and I can’t read that level of chinese!

EDIT:

The issue is with the downloader that 360 uses, apparently. I would like to know if there is something that should be changed in the streaming code, though. A header that I am missing, or something else.

  • This is only happening for small files. Same page, bigger download = no issues.
  • Changing to the built-in IE downloader causes the issue to go away.
  • 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-01T10:12:51+00:00Added an answer on June 1, 2026 at 10:12 am

    Hi i tried your code on 360 secure browser. it work for me. and i edit a little bit below is my code.
    Note: As i know, 360 secure browser is using IE Core.

       protected void Page_Load(object sender, EventArgs e)
        {
            DownloadStream(StreamFile(@"C:\Users\My\Desktop\test2.xlsx"), "test.xlsx");
        }
    
        private byte[] StreamFile(string filename)
        {
            FileStream fs = new FileStream(filename, FileMode.Open, FileAccess.Read);
    
            // Create a byte array of file stream length
            byte[] Data = new byte[fs.Length];
    
            //Read block of bytes from stream into the byte array
            fs.Read(Data, 0, System.Convert.ToInt32(fs.Length));
    
            //Close the File Stream
            fs.Close();
            return Data; //return the byte data
        }
    
    
        public static bool DownloadStream(byte[] packageStream, string fileName)
        {
            var response = HttpContext.Current.Response;
            response.ClearContent();
            response.ClearHeaders();
            response.AppendHeader("Accept-Ranges", "bytes");
            response.AppendHeader("Content-Disposition", "inline; filename=" + HttpUtility.UrlEncode(fileName, Encoding.UTF8));
            response.AppendHeader("Content-Length", packageStream.Length.ToString());
            response.ContentType = "application/xlsx";
            response.BinaryWrite(packageStream);
            response.Flush();
            response.End();
            return true;
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there anyway to create a desktop icon (cross platform/browser) from a linked image
I have an Xcode project which builds a Cocoa desktop Browser application. My Browser
When you visit the market place web site on a desktop browser and log
Is there a documented list of desktop browsers and versions which support Ember.js apps?
I'm wondering if there are any architectural frameworks out there to create desktop or
Is there a way to create a second Desktop screen in C# - just
Is there any way to force Outlook to display HTML in the desktop alert
Is there a way to control the brightness of the OS X desktop programmatically
Is there a method to launch an Internet Explorer window from a desktop Icon
Is there any good articles or guidelines for color schemes for desktop applications? I

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.