摘要:
The invention relates to a method for the virtualization of a hardware resource associated with a computer system by an executable piece of code adapted for being injected into a process belonging to an application that is executed on an operating system comprising at least one API that is executed on the computer system. The method comprises: intercepting a call from the process to an API service related with the management of the data flow produced between the process and the hardware resource; and managing the data flow produced between the process and the hardware resource by the piece of code on the basis of the interception of the call from the process to the API service related with the management of the data flow produced between the process and the hardware resource.