File monitor- c# or c++ [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am developing a file monitor to monitor file access of any exe. I monitor that exe for any file it opens/closes,reads/writes and collect the stats.
I am total newcomer to ETW (as from my research, it does not look there is any other way to do this.)
while I have been able to get some c++ code going, my client would prefer a c# solution.is there enough support in c# to monitor file io?
the samples in msdn are c++/c specific. I read vance Morrison's blogs.but its beyond me at the moment and they don't seem to suit "nt kernel logging sessions/ monitor file io" scenarios.
can anyone give me a simple sample or point me to a useful link ? any inputs is welcome on this.

In windows, ultimately any file access is granted, by the underlying winapi. See CreateFile and familly. These functions are hook-able by Microsoft Detours (though it is intended for instrumention purposes). There are also a handfull of other libraries for this sort of purposes e.g. easyhook.

Take a look at the FileSystemWatcher class.

Related

Implementing an interactive R console in c# / rdotnet? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm adding statistical processing to a C# app using rdotnet, which looks ideal for our current needs. Basically, the app generates lots of different time series, and we use R to calculate distributions, quantiles etc.
What would be great for a future version would be if we could add an interactive R console to the app, so that the user can perform further ad hoc processing on the data within the app environment.
Initial research hasn't thrown up any pointer or examples. Can anyone suggest a way forward ?
Thanks.
Capturing the R Console I/O and show it in a console is possible, but making it interactive may not be possible. You will find more details in this discussion post and the links it has to other posts. The post also has alternate solutions proposed; basically where the R console is the main application and loads/shows your C# application.

Twain or WIA? A bit lost between this two interface [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I need to write a c# assembly (DLL) in order to scan documents.
I don't know if I need to use TWAIN or WIA.
Anyone could help me please ?
What are the différences?
What are your advices ?
Is there a c# Library ?
Generally, if your application is to interact with scanners, TWAIN is recommended. While for cameras, WIA offers better support.
So for document scanning solution, I would recommend TWAIN.
TWAIN.H file is a C/C++ header file. If you want to code it to .NET yourself, you can refer to this post to get some resources:
Using TWAIN in .NET - Looking for resources
Or you can use a commercial .NET TWAIN component.

installation guideline for new progammers in team [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I want to prepare document to be served as guideline for new programmers which should be part of our team. This document should describe installation path, from new windows installation to visual studio, etc. After installing all this from doc. new programmer should be ready to code (everything set up).
Do you have such recommendation how to do this? Is there any standards for this? Do you have sample documents willing to share?
I think not only writing down a setup guide is enough by itself. We are writing guidance documents and samples on how to code. It is a document which first states a scenario and shows every step of coding.
Also, instead of setting up the environment each time a developer starts working, just setup up a new machine with all related settings, and take the image of this computer. Then, just copy this image to the new developer's computer.
I think that just like any guide it should be kept to stupid simple. Do not assume anything, or else, if you make any assumptions, state them clearly.

Using .NET to detect .ogg file properties? Number of channels, bits per channel, sample rate? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Does anyone know how to detect various .ogg file properties such as the number of channels, bits per channel, and the sample rate?
I would like to do this without using DirectX, can anyone recommend a library that could do it. Can anyone recommend an open-source library that could do it, which could be called from managed code ?
I think NAudio can do this, but I'm not entirely sure. I know it can encode audio to ogg, but I'm not sure if it can read existing ogg files.
A StackOverflow user has posted a piece of code for working with ogg files: https://stackoverflow.com/a/8152967/14606
Figured it out and wrote about it:
http://ellismis.com/2012/01/06/using-c-net-to-detect-ogg-vorbis-file-properties/
Don't know of a library, but the file format looks pretty sane. You should be able to write some fairly trivial code to do this.
See http://en.wikipedia.org/wiki/Ogg#File_format

Reading quicken data files [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Looking for an open source library, for C++, Java, C# or Python, for reading the data from Quicken .qdf files.
#Swati: Quicken .qif format is for transfer only and is not kept up to date by the application like the .qdf file is.
QDF is proprietary and not really meant for reading other than my Quicken, probably for a reason as it is messy.
I would recommend finding a way to export the qdf into an OFX (Open Financial Exchange) or qif file. I have done some financial and quickbooks automation and I did something similar. The problem is if you don't export to an exchange format, each version differs and strange things happen for many conditions that since they aren't documented (QDF) it becomes a bad situation for the programmer.
OFX is what allows online banking, brokerages and apps like mint.com securely get financial data. It is a standard and consistent. Finding a way to this is much better if at all possible.
http://www.west-wind.com/Weblog/posts/10491.aspx
And i know one other blog where the author was developing a parser for qfx/qif... lemme look it up... googling hasnt helped yet :(
Update: Found one more:
http://blogs.msdn.com/lucabol/archive/2007/08/31/parsing-qif-quicken-files-in-c.aspx
Check out http://qif.codeplex.com/
You may want to check the license before use. Thanks

Categories