I am working in a C# program what monitors the activity on a computer. I
have been able to accomplish quite a bit so far, but one item I have not
been able to figure out is if there is a way to monitor when a file is
opened. The FileSystemWatcher class is useful for monitoring file/directory
changes, but all I want is to monitor when a file is opened. Is there any
way to do that in .NET?
I am also monitoring processes in use on the system, and checking for open
windows. I can do that quite easily for using the Process class, but haven't
figured out a way to tell of Explorer has any open windows. I want to
prevent users from browsing the hard disk, or at least detect if it is being
done.
This program is part of something I'm developing to help Professors monitor
what student's are doing during a computer-based exam. We want to prevent
students from accessing crib notes stored on their computer, among other
things. The more I can control/prevent with my program, the better. For
example, I prevent the use of Ad Hoc wireless connections and the use of
instant messenger type programs with a mini-firewall. The toughest part is
finding information about how to control all of these internal aspects of
windows... 2 4204
Sounds like you have to use Win32 API's. Have a look at the utilities at http://www.sysinternals.com/, some of them are with source, they are written
in C/C++
Chris
"Paul Steele" <pa*********@acadiau.ca> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl... I am working in a C# program what monitors the activity on a computer. I have been able to accomplish quite a bit so far, but one item I have not been able to figure out is if there is a way to monitor when a file is opened. The FileSystemWatcher class is useful for monitoring file/directory changes, but all I want is to monitor when a file is opened. Is there any way to do that in .NET?
I am also monitoring processes in use on the system, and checking for open windows. I can do that quite easily for using the Process class, but haven't figured out a way to tell of Explorer has any open windows. I want to prevent users from browsing the hard disk, or at least detect if it is being done.
This program is part of something I'm developing to help Professors monitor what student's are doing during a computer-based exam. We want to prevent students from accessing crib notes stored on their computer, among other things. The more I can control/prevent with my program, the better. For example, I prevent the use of Ad Hoc wireless connections and the use of instant messenger type programs with a mini-firewall. The toughest part is finding information about how to control all of these internal aspects of windows...
Sounds like you have to use Win32 API's. Have a look at the utilities at http://www.sysinternals.com/, some of them are with source, they are written
in C/C++
Chris
"Paul Steele" <pa*********@acadiau.ca> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl... I am working in a C# program what monitors the activity on a computer. I have been able to accomplish quite a bit so far, but one item I have not been able to figure out is if there is a way to monitor when a file is opened. The FileSystemWatcher class is useful for monitoring file/directory changes, but all I want is to monitor when a file is opened. Is there any way to do that in .NET?
I am also monitoring processes in use on the system, and checking for open windows. I can do that quite easily for using the Process class, but haven't figured out a way to tell of Explorer has any open windows. I want to prevent users from browsing the hard disk, or at least detect if it is being done.
This program is part of something I'm developing to help Professors monitor what student's are doing during a computer-based exam. We want to prevent students from accessing crib notes stored on their computer, among other things. The more I can control/prevent with my program, the better. For example, I prevent the use of Ad Hoc wireless connections and the use of instant messenger type programs with a mini-firewall. The toughest part is finding information about how to control all of these internal aspects of windows...
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jay Blanchard |
last post by:
-----Original Message-----
From: Moritz Steiner =20
Sent: Wednesday, July 16, 2003 10:46 AM
To: Jay Blanchard
Subject: AW: monitoring
I want to see:
Number of queries =20
|
by: rakesh_nits |
last post by:
Hi All,
I want to watch all fixed drives on a computer.Is there any reliable
way to do that.I am watching for create , delete , change , rename
events for all files and folders.I am using...
|
by: johnm |
last post by:
Hello,
We currently are running a CRM application that uses DB/2 7.2 for the data
repository. We will be upgrading to 8.2 later this year....maybe....time and
resources permitting.
The...
|
by: Pawan |
last post by:
Hi,
Currently I am have an assignment which has to have some functionality
which enables internet usage of client computers from a server machine.
Basically this is an upgradation that I have to...
|
by: Ron Vecchi |
last post by:
Hi all,
Can someone point me in the direction on this one, resources or examples.
I am writing a Windows Service to monitor a folder. When I file is modified
within the folder or any subfolders...
| |
by: Paul Steele |
last post by:
I am working in a C# program what monitors the activity on a computer. I
have been able to accomplish quite a bit so far, but one item I have not
been able to figure out is if there is a way to...
|
by: Tim D |
last post by:
Hi,
I originally posted this as a reply to a rather old thread in
dotnet.framework.general and didn't get any response. I thought it might be
more relevant here; anyone got any ideas? My...
|
by: Rick Gigger |
last post by:
I am running a few web based applications with postgres on the backend.
We have a few app servers load balanced all connecting to a dedicated
postgres server. As usage on the applications...
|
by: rohit |
last post by:
hello,
i have designed a desktop search utility in python and a file system
monitoring using readdirectorychangesw from win32api but for eg. it
has a high cpu utilization (using a 2GHz processor)....
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |