Interaction between the SDK and your application can be implemented in two ways.
Commonly, your application and the SDK are both running on one computer. The program modules of KAV SDK run within the address space of your application. In this case, the KAV scanning server runs as a child process for the parent process, which is your application, and does that in the same address space.
Interaction between your application and KAV SDK modules goes in the following manner. The application passes file names and specifies other objects for the scan engine; the engine opens and scans them in-place. There can be one or more scanning (or monitoring) threads. No separate process is created for the KAV scanning server. The KAV scanning server provides programming interfaces and their methods for your application behaving as a client for the KAV server. The described model is called in-process interaction.

KAV library running in the process of your application
The second way of interaction between the application and the SDK is when the application and the SDK are separate processes running possibly on different machines—they do not share a common address space. Depending on implementation, there can be one or many scanning (or monitoring) processes containing one or more threads. The processes will have the name kavehost.exe.

Instances of KAV library running in separate host processes
Page top