# .Net Profiler C# Agent

Deploy a Stage-1 C#/.NET Profiler Agent as a DLL loaded via the Microsoft .NET CLR Profiling mechanism (Profiler GUID/env-based load). Upgrade to Stage-2 to unlock full operator tooling: host/context enumeration (systeminfo, getuid, currentpath), screen/webcam capture (screenshot, webcam), bidirectional file transfer (download\_file, upload\_file), and remote process listing (listproc). The companion ProfilerDebugger.exe verifies that the agent is loaded through the profiler and can be used to check/diagnose profiler activation on the target.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://exploit-pack.gitbook.io/exploit-pack-manual-pages/control-pack/.net-profiler-c-agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
