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 4552614
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T16:49:10+00:00 2026-05-21T16:49:10+00:00

I have a Silverlight 4 app that is allowing the user to upload a

  • 0

I have a Silverlight 4 app that is allowing the user to upload a file, specifically an assembly. Before the file is uploaded, I would like to verify that what they’ve selected is actually an assembly, and I would also like to get the full name of that assembly. I’m getting a security exception when I try to use Assembly.Load(byte[]), is there a way to verify the assembly in Silverlight without actually loading the assembly? Maybe a third party assembly information loaded? Is there a reasonably simple way to examine the bytes in the byte array to determine this?

Update

The following pretty much shows me that opening the assembly is not a reasonably simple way to examine the byte array:
Common Language Infrastructure

Thanks,
Matt

  • 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-05-21T16:49:11+00:00Added an answer on May 21, 2026 at 4:49 pm

    This kind of validation is security sensitive and needs to be done server-side

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a C# Silverlight app that lets the user select which spreadsheet they
I have a silverlight app that allows the user to draw on it and
I have created a silverlight app that consits of like buttons within specific usercontrols
I have a Silverlight 4 MVVM app that uses databinding to boolean properties like
I have a silverlight app that will be installed OOB with full trust and
I have a Silverlight app that has to load an image dynamically, depending on
For example: First, say I have a Silverlight app with Windowless=true so that I
In my Silverlight app I have an event handler that dynamically creates a new
I have a WCF web-service and a Silverlight app displaying data from that service.
I have a silverlight application that needs to talk to a rails app to

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.