Using System.Management Namespace in CAlgo
Created at 22 Apr 2023, 12:21
Using System.Management Namespace in CAlgo
22 Apr 2023, 12:21
Hi
I want to use 'System.Management Namespace' in my code of a custom Indicator. I donot have the luxury of the Visual Studio. Any help will be v much appreciated.
In CAlgo when I do "Using System.Management" and compile the error is :
firemyst
23 Apr 2023, 06:56
The error message is what's wrong.
You need to add a reference to System.Management.dll to your Indicator project.
https://ctrader.com/api/guides/referencing_dll#:~:text=In%20order%20to%20add%20a,your%20cBot%20or%20Custom%20Indicator.
@firemyst