English | 中文 | Русский | Français
2,555 Posts served
8,264 Conversations started
Sample Code!
Before I started "Working with Intel AMT," the first thing I wanted to learn was how to turn a computer on and off. Sounds pretty simple, right? Well, not really.
The RemoteControl sample provided in the SDK wasn't very easy to understand. It took me awhile just to figure out how to run it with the correct command-line arguments! When I did get it running, I noticed that it provided a lot more functionality than I actually needed. I didn't need to set boot options, I just wanted to shut the computer off! Trying to understand 1016 lines of code (I'm not exaggerating) wasn't fun either.
So here's my version of the RemoteControl sample. You'll see a lot of the same concepts discussed in one of my recent blog posts (Get function, GetEndpointReference function, etc). You'll also see how the Invoke function works. The sample provides nowhere near as much functionality as the original, but it's a lot easier to understand. Remember to check for updates reguarly and leave a comment in that box down there.
Click here to download the sample (C#, Visual Studio 2008).
| June 24, 2009 6:36 PM PDT
Trevor Sullivan
|
(now that I'm actually logged in) Yay for more C# / .NET development blog entries! :) -Trevor Sullivan |
| July 30, 2009 8:08 AM PDT
Ashish Chauhan
|
While executing following i recieve the error. RemoteControl.exe -c -user admin -pass MyPass46! http://192.168.2.220:16992/RemoteControlService Calling function GetRemoteControlCapabilities... Error: failed while calling GetRemoteControlCapabilities SOAP failure: error code = 25 Thanks. |
| July 30, 2009 10:40 AM PDT
Stephen Hibbert (Intel)
| Are you using my sample or the sample included in the SDK? |
| October 29, 2009 11:51 AM PDT
sayantan_majumdar
|
Hi Stephen, I do use RemoteControl.exe from AMT SDK to remotely Power On/ Off AMT devices. Looks like that exe has the capability to send ASF commands too. Do you have any knowledge if we can actually send ASF special commands via RemoteControl.exe in AMT SDK. Thanks Sayantan |

Trevor Sullivan
-Trevor Sullivan