Quantcast
Channel: Intel® vPro™ Technology
Viewing all articles
Browse latest Browse all 204

Problems integrating Open MDTK 1.28

$
0
0

Hi!

I'd like to integrate Open MDTK into one of our company applications. I generated the "Manageability Stack.dll" from the Source and added it into my C# application. I then tried to connect to the system and get the current power state with this code:

AmtSystem sys = new AmtSystem(this.__Hostname, 16992, this.__Username, this.__Password, false, false);

System.Diagnostics.Debug.WriteLine("[AMT] Connecting to " + sys.HostName);
sys.Connect();
while (sys.State == AmtSystemObjState.Connecting)
{
}
if (sys.State == AmtSystemObjState.Connected)
{
	System.Diagnostics.Debug.WriteLine("[AMT] Connected!");
	this.__Response = sys.Remote.GetSystemPowerState().ToString();
	sys.Disconnect();
}
else
{
	this.__Response = "Error on connect;";
}

But the code never enters the connected state. And the strange thing, if I run the code in Release, I get a ton of these (with different field names, sorry for the German):

Eine Ausnahme (erste Chance) des Typs "Intel.Manageability.Exceptions.CimPropertyException" ist in Manageability Stack.dll aufgetreten.
In Intel.Manageability.Exceptions.CimPropertyException ist eine Ausnahme vom Typ "Manageability Stack.dll" aufgetreten, doch wurde diese im Benutzercode nicht verarbeitet.
Zusätzliche Informationen: Logic error:
no such field name: DDNSPeriodicUpdateInterval

The code breaks @CimData.cs in GetField(). I guess it has something to do with the asset management.

What am I doing wrong? The binary software from the installer works, so it has to be my code. Am I missing an assembly?

Kind Regards,
Christian


Viewing all articles
Browse latest Browse all 204

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>