System monitoring

Is there any way to stay monitoring changes in registry and network ports usage (like a firewall) using .Net Framework


Answer this question

System monitoring

  • Steeves Saillant

    Hi Stephen,

    Thanks for the answeer. But I have two new questions.

    First - Are this APIs compatible with all MS Windows versions

    Second - What do you mean with "port to your favourite programming language for the CLR" Is it just call for APIs in C#,VB.Net or J# application

  • Bakiya

    Hello,

    The .NET Framework itself does not include Registry or network port monitoring functionality. However, other teams at Microsoft may provide native (e.g. C/C++) support for monitoring the registry and ports.

    I would recommend searching MSDN or the internet for APIs that provide the functionality you are looking for and then port to your favourite programming language for the CLR.

    There is Registry key monitoring support in the Win32 API - search MSDN for RegNotifyChangeKeyValue.

    Hope that helps,
    Stephen [MS Common Language Runtime: Security - Developer]
    http://blogs.msdn.com/stfisher

  • System monitoring