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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T19:24:49+00:00 2026-06-07T19:24:49+00:00

In order to run our WPF xbap application, we need to make sure our

  • 0

In order to run our WPF xbap application, we need to make sure our clients machines have .NET 4.5 on them. There was a big bug fix in 4.5 that corrected a threading bug that was in the 4.0 E version.

we are doing a check for the client versions using javascript.

With 4.5 RC installed, the useragent string is still reporting just 4.0E. We need to be able to tell if 4.5 is installed so if it is we can let the user run the app without getting the notice to update. Can this be done? Will 4.5 create the proper string for the useragent call?

Thanks
Harold

  • 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-07T19:24:50+00:00Added an answer on June 7, 2026 at 7:24 pm

    Never rely on the User-agent string to tell you anything – the best way to test if something is present is to actually use it.

    I suggest you modify your XBAP to look at what version of .NET it’s running on. If it detects anything below 4.5 then it should display a message to the user and not continue.

    If you don’t want to modify your XBAP you could try a “Dotnetlet” (a .NET equivalent of a Java Applet) which is a WinForms UserControl hosted in an <object> element in an IE webpage (it obviously won’t work in any other browser). You could do the .NET version test in there.

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

Sidebar

Related Questions

We have a .NET application which targets .NET 3.5. Our clients run it from
We are writing unit tests for our ASP.NET application that run against a test
I have an order receipt page auto generated by our system. I need to
I am working on a WPF application that requires .NET 4.0 to run. The
i have a few developers who constantly put If null checks For example: Run(Order
Is there any way to set order by clause in HQL by run time.
We have an older VB6 application that used to run under various user's accounts.
I have a database with customer information, orders, etc. I need to run a
I am trying to run a 64 bit executable (java.exe) from our 32-bit .NET
I have to make local changes to my project files in order to get

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.