<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# analyzing-dotnet-assemblies — API Reference

## Agent Script

| Command | Description |
|---------|-------------|
| `decompile --target <path>` | Decompile .NET assembly to source code. |
| `inspect --target <path>` | Inspect assembly metadata and references. |
| `extract --target <path>` | Extract embedded resources from assembly. |

## Usage Examples

```bash
# Decompile .NET assembly to source code.
node scripts/agent.js decompile --target ./sample

# Inspect assembly metadata and references.
node scripts/agent.js inspect --target ./sample

# Extract embedded resources from assembly.
node scripts/agent.js extract --target ./sample
```

## Output Format

All commands return JSON with the following structure:

```json
{
  "action": "<command>",
  "result": {
    "action": "<command>",
    "status": "complete",
    "domain": "<domain>",
    "technique": "analyzing-dotnet-assemblies"
  }
}
```
