SDK Class
The LeanFT SDK base class.

C# Syntax

public class SDK 
Example
// The following code example configures an address for the server. 

static void Main(string[] args)
{
    // Initialize the SDK and LeanFT HTML report once per process.
    SDK.Init(new SdkConfiguration
    {
        ServerAddress = new Uri("ws://myServerAddress:5095")
    });
    Reporter.Init(new ReportConfiguration());

    //Put your test code here.

    //Generate the report.
    Reporter.GenerateReport();
    // Cleanup the SDK usage.
    SDK.Cleanup();
}
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.SDK

Public Constructors
  Name Description
Public Constructor SDK Constructor  
Top
Public Properties
  Name Description
Public Property static (Shared in Visual Basic) Configuration The SDK configuration.  
Public Property static (Shared in Visual Basic) IsServerReady Indicates whether the runtime engine is ready for communication connections.  
Top
Public Methods
  Name Description
Public Method static (Shared in Visual Basic) Cleanup Performs an SDK cleanup when connection ends.  
Public Method static (Shared in Visual Basic) Init Initializes the SDK with the specified configuration.  
Top