Please use. NET 5,. NET 6, NET 7,. NET 8, NET Framework 4.6, NET Framework 4.61, NET Framework 4.7, NET Framework 4.72, NET Framework 4.8, NET Framework 4.81, and. NET Core 3.1 versions

Core Constructor

Constructs an OpenVINO Core instance with devices and their plugins description.

There are two ways how to configure device plugins:

1. (default) Use XML configuration file in case of dynamic libraries build;

2. Use strictly defined configuration in case of static libraries build.

Definition

Namespace: OpenVinoSharp
Assembly: OpenVINO_CSharp_API (in OpenVINO_CSharp_API.dll) Version: 2024.3.0.2+a9617c0f8f80882646d0eba11b88ae6cb17b3fb8
C#
public Core(
	string xml_config_file = null
)

Parameters

xml_config_file  String  (Optional)
Path to the .xml file with plugins to load from. If the XML configuration file is not specified, default OpenVINO Runtime plugins are loaded from:

1. (dynamic build) default `plugins.xml` file located in the same folder as OpenVINO runtime shared library;

2. (static build) statically defined configuration.In this case path to the.xml file is ignored.

See Also