# gaidaenko/routeros-api-access-control-to-rdp.-disable_addresslist. architecture

> Architecture diagram of the GitHub repository gaidaenko/routeros-api-access-control-to-rdp.-disable_addresslist., generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/gaidaenko/routeros-api-access-control-to-rdp.-disable_addresslist.
- Repository: https://github.com/gaidaenko/routeros-api-access-control-to-rdp.-disable_addresslist.

## Overview

DisableRemoteAccess is a small Windows Forms utility for controlling a MikroTik server through its API. The application starts a form; its handlers check for a configured route, enable or disable an IP address selected by comment, and display availability status. These operations are implemented together in Form1.cs rather than as separate modules. The excerpts show the form opening API connections and issuing router commands; UI event wiring is not shown, so no handler-to-control edges are inferred.

Main entry points: [`DisableRemoteAccess/Form1.cs`](https://github.com/gaidaenko/routeros-api-access-control-to-rdp.-disable_addresslist./blob/master/DisableRemoteAccess/Form1.cs) (Control panel), [`DisableRemoteAccess/Program.cs`](https://github.com/gaidaenko/routeros-api-access-control-to-rdp.-disable_addresslist./blob/master/DisableRemoteAccess/Program.cs) (Application entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("Operator"))
node_program["Application entry<br/>[Program.cs]"]
node_form["Control panel<br/>[Form1.cs]"]
node_router(("MikroTik router API"))

node_program -->|"opens"| node_form
node_user -.->|"uses"| node_form
node_form -->|"checks and toggles"| node_router

click node_program "https://github.com/gaidaenko/routeros-api-access-control-to-rdp.-disable_addresslist./blob/master/DisableRemoteAccess/Program.cs"
click node_form "https://github.com/gaidaenko/routeros-api-access-control-to-rdp.-disable_addresslist./blob/master/DisableRemoteAccess/Form1.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneIndigo
class node_program,node_form toneTeal
class node_router toneMint
```

## Components

### Other components

- **Operator**
- [Application entry](https://github.com/gaidaenko/routeros-api-access-control-to-rdp.-disable_addresslist./blob/master/DisableRemoteAccess/Program.cs): `DisableRemoteAccess/Program.cs`
- [Control panel](https://github.com/gaidaenko/routeros-api-access-control-to-rdp.-disable_addresslist./blob/master/DisableRemoteAccess/Form1.cs): `DisableRemoteAccess/Form1.cs`
- **MikroTik router API**

## Connections

- Application entry → Control panel: opens (evidence: `DisableRemoteAccess/Program.cs`)
- Operator → Control panel: uses
- Control panel → MikroTik router API: checks and toggles (evidence: `DisableRemoteAccess/Form1.cs`)
