CollapseAll image

Using the Redirection API

The HLAPI implements the Redirection feature in the Redirection API.

The available methods are described in these interfaces:

•   IRedirection – Used to give access to the Storage Redirection and SOL interfaces

•   IRedirectionAdmin – Used to enable SOL/Storage Redirection interfaces on the Intel AMT device

•   IRedirectionIDER – Used to manage Storage Redirection sessions

•   IRedirectionSOL – Used to manage SOL sessions

Examples

These C# examples show how to use the Redirection API (after connecting to the Intel AMT device).

Serial over LAN (SOL) flow

amt.RedirectionSOL.SetInterfaceState(true);

amt.RedirectionSOL.StartSOL();

amt.RedirectionSOL.Write("string");

amt.RedirectionSOL.StopSOL();

amt.RedirectionSOL.SetInterfaceState(false);

amt.RedirectionSOL.Dispose();

 

Storage Redirection (USB-R or IDE-R) flow

amt.RedirectionIDER.SetInterfaceState(true);

amt.RedirectionIDER.StartIDERCD("C:\\MYCD.iso");

IDERState w = amt.RedirectionIDER.CurrentSessionState;

IDERStatistics statistics = amt.RedirectionIDER.GetStatistics();

Console.WriteLine("PacketsReceived: " + statistics.PacketsReceived);

amt.RedirectionIDER.StopIDER();

amt.RedirectionIDER.SetInterfaceState(false);

amt.RedirectionIDER.Dispose();

 

 

See Also:

•   Connecting to an Intel AMT Device|topic=Connecting to an Intel AMT Device

 

Copyright © 2006-2022, Intel Corporation. All rights reserved.