6 Replies Latest reply on Nov 6, 2015 5:38 PM by michelebelmonte

    PI System GUID


      Hi All

      we are in the process of doing some development using the AF SDK.


      If we understand properly, the AF SDK guidelines, we need a PI System GUID (that we then embed in our software).


      Is the PI System GUID something we can request here (as suggested by the guidelines)? Or could you please point us in the right direction?


      Best regards,


        • Re: PI System GUID
          Steve Boyko

          Normally you refer to the AF Server by machine name and the GUID translation is done by the SDK.


                 private const string AFserverName = "TST-SRV-PI";

                 private const string AFdatabaseName = "TestDatabase";


                 var afServer = AFSDKHelpers.GetSystem(AFserverName);


                 var database = afServer.Databases[AFdatabaseName];

            • Re: PI System GUID

              Are you looking to get an "application" ID or the PI System ID?  The purpose of the application ID is so that you can identify your application to the PI System.  This may be required if you are connecting to a PI System that has restrictions on which application can connect to it.

              So if you're building a 3rd party application that may be connected to PI System(s) that do not belong to you, you would need an application ID.  If you're just building an application for your own use, strictly speaking you do not have to have an application ID.



              Steve Kwan

              4 of 4 people found this helpful