This article explains how to access and use the AppDNA SDK.
For more information about the data available from the SDK, see Data available using the SDK.
For the full SDK reference, see the class-reference documentation at https://citrix.github.io/AppDNA-SDK.
You can download a sample solution that uses the SDK from http://support.citrix.com/help/appdnasdk/7.6/SampleUserProjects.zip . For code samples that you can use as a basis for your own scripts, go to http://www.citrix.com/go/citrix-developer/xenapp-xendesktop-developer-community/appdna.html and click on Exchange Forum.
Once referenced, Visual Studio imports all the files that the SDK dll depends upon into your application's build output folder. If you distribute your application, you must also distribute these files with the application, including the following files which are not automatically imported by Visual Studio:
All the types exposed by the SDK are in the Citrix.SDK.AppDNA namespace. All the code samples alias this namespace with: using AppDNA = Citrix.SDK.AppDNA;
The SDK has the same Windows Administration requirements as the AppDNA client. This means that the SDK runs as a normal user and should not require further rights.
The AppDNA credentials passed to the Server.Connect function determine what actions are permitted from within the SDK, exactly as for the AppDNA client.
Overview of the Steps
This section provides an overview of the main steps you perform when using the AppDNA SDK. These steps are common, regardless of where you are inputting data from, and of what data you are outputting from the reports. The steps are:
The other topics in this section describe each of these steps in more detail.