# How the ByteInsight application works with C# code

This is a summary of how the application works when analyzing a folder with one or more C# solutions. This lightweight evaluation allows the user to scan a folder with one or more solutions in the same folder, and the results will be adjusted and sorted based on the number of solutions found.

These are all the steps required to scan a C# folder:

* Run the ByteInsight application. Here you need to register an email address where the results will be sent.

<figure><img src="/files/ZF2r76kwZbXPD31wwitN" alt=""><figcaption></figcaption></figure>

* Select the path where the folder with the C# code is located:

&#x20;

<figure><img src="/files/S21XJURrBk2EW005dNMQ" alt=""><figcaption></figcaption></figure>

* Start analysis:&#x20;

<figure><img src="/files/xBQr88jzTXM9tuS9EfSJ" alt=""><figcaption></figcaption></figure>

* Once the analysis is complete, you can view the results in the output folder to check the raw data:

  <figure><img src="/files/4XdPbWm6RvmmgIQwKfnJ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/FZ39XvMOMNo4WbZpvefL" alt=""><figcaption></figcaption></figure>

* Open the results folder and you will find all the files generated with a summary of the combined solutions/projects scanned, as well as an individual folder with the name of the solution and the name of the project containing all the specific files. This is because a folder can contain multiple solutions with multiple projects, and the application attempts to organize the data as best as possible:&#x20;

<figure><img src="/files/AkHnRAsmyu63UvFiWaVm" alt=""><figcaption></figcaption></figure>

* In addition, you can click on the **“Get full report”** button and a new report will be displayed with a more comprehensive view of the data:

  <figure><img src="/files/Cbovvnrb1U1Iet9sDzIQ" alt=""><figcaption></figcaption></figure>

* You can scroll down the document and find a section with a tab called C# Projects, where you can view information related to:

  * &#x20;**Estimated Lines of Code**:  Count of lines of code found for each specific attribute, taking into account:  *Filetype, FileCount, CSharpCode,  Designer, HTMLCode:,  JavaScript, Comments and  Blanks.*
  * **Controls Identified**: All C# controls found in the folder and subfolders grouped by the solution and the project they belong to.
  * &#x20;**Libraries Identified:** All C# libraries found in the folder and subfolders grouped by the solution and the project they belong to.
  * &#x20;**PMEs Identified:** C# inventory data showing hierarchy based on solution/project, control/properties, and occurrences found during the scan.
  * **Third-Party Identified:** All third-party controls found in the folder and subfolders grouped by the solution and the project they belong to.

  <figure><img src="/files/ONG3tTy0V7uponF98ODX" alt=""><figcaption></figcaption></figure>

  <figure><img src="/files/fjg2xoiH3dGhLjJhUoWz" alt=""><figcaption></figcaption></figure>

* Finally, after generating the Full Report, an email will be sent to the registered address with the HTML report to download.


---

# 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://docs.gapvelocity.ai/byteinsight-documentation/guides/how-the-byteinsight-application-works-with-c-code.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.
