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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:05:06+00:00 2026-05-28T13:05:06+00:00

I have an OOB Silverlight 4 application (I can upgrade to Silverlight 5 if

  • 0

I have an OOB Silverlight 4 application (I can upgrade to Silverlight 5 if it makes this easier to accomplish), and I need to monitor a file in the My Documents folder for changes.

The file is modified by another program running on the machine, when the file changes, I need my silverlight application to react to the changes.

It appears that the FileSystemWatcher is not available in silverlight, so right now I see my only solution is some kind of polling where I just check the file on some sort of short timer.

This seems like this could be a somewhat big performance hit.

Is there a common way of doing this that I’m not aware of? Is there anyway to get the FileSystemWatcher working in silverlight?

  • 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-28T13:05:06+00:00Added an answer on May 28, 2026 at 1:05 pm

    You could try to PInvoke the API: http://www.pinvoke.net/default.aspx/kernel32/FindFirstChangeNotification.html

    See also an MSDN example of using this API: http://msdn.microsoft.com/en-us/library/Aa365261

    This will require the use of Silverlight 5, Out of Browser and elevated permissions and a Windows OS.

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

Sidebar

Related Questions

We have a Silverlight application that runs OOB (out of browser) so the user
I am running OOB silverlight application where I have a WebBrowser control but I
I have created a Silverlight application that runs OOB with extra features. We've taken
I have an SL 4 application (with OOB and elevated privileges) which makes a
I have an OOB silverlight application. I have Silverlight 5 developer runtime and all
I have a Silverlight application with some appSettings in my Web.Config file. Now I
I have a silverlight app that will be installed OOB with full trust and
When running Silverlight 3.0 in OOB mode, you don't have to worry about any
When a Silverlight 4 application is installed and run out-of-browser (OOB), is it possible
I have MyDotNet4.dll that user installs as application on machine. In my case this

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.